Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007558/0.007558, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001782, allocations: 194.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.7422 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.89 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7444/0.7457, allocations: 159.1 MB / 1.22 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.007416/0.7532, allocations: 3.759 MB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.7639, allocations: 4.88 MB / 1.228 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007109/0.7647, allocations: 15.94 kB / 1.228 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00484/0.7695, allocations: 1.409 MB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.7714, allocations: 0.7859 MB / 1.23 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.7733, allocations: 0.8456 MB / 1.231 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0191/0.7924, allocations: 12.8 MB / 1.244 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.7928, allocations: 93.73 kB / 1.244 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.7939, allocations: 0.584 MB / 1.244 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000881/0.7948, allocations: 0.5876 MB / 1.245 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.795, allocations: 68 kB / 1.245 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.7965, allocations: 0.8306 MB / 1.246 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007481/0.7973, allocations: 0.8064 MB / 1.247 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.7985, allocations: 0.8547 MB / 1.247 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.8019, allocations: 2.626 MB / 1.25 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.802, allocations: 0 / 1.25 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.802, allocations: 4 kB / 1.25 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.722e-05/0.802, allocations: 0 / 1.25 GB, free: 3.188 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.004811/0.8069, allocations: 2.316 MB / 1.252 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.8069, allocations: 8.625 kB / 1.252 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/0.807, allocations: 58.55 kB / 1.252 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/0.8096, allocations: 498.3 kB / 1.253 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009765/0.8194, allocations: 5.662 MB / 1.258 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.8194, allocations: 20 kB / 1.258 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.8195, allocations: 32 kB / 1.258 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.8209, allocations: 0.6534 MB / 1.259 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8209, allocations: 0 / 1.259 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.821, allocations: 8 kB / 1.259 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.821, allocations: 4 kB / 1.259 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.8225, allocations: 0.5308 MB / 1.26 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/0.8267, allocations: 2.312 MB / 1.262 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.8285, allocations: 0.7002 MB / 1.262 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/0.8292, allocations: 284.7 kB / 1.263 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.8293, allocations: 11.92 kB / 1.263 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.8293, allocations: 34.56 kB / 1.263 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/0.8293, allocations: 0 / 1.263 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.002864/0.8322, allocations: 1.037 MB / 1.264 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.8322, allocations: 51.41 kB / 1.264 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004393/0.8366, allocations: 2.987 MB / 1.267 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.8368, allocations: 45.75 kB / 1.267 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/0.8374, allocations: 0.6844 MB / 1.267 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.8376, allocations: 87.36 kB / 1.268 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005082/0.8381, allocations: 350.4 kB / 1.268 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.8382, allocations: 301.1 kB / 1.268 GB, free: 252 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.8399, allocations: 1.095 MB / 1.269 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.842, allocations: 1.448 MB / 1.271 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.8453, allocations: 2.324 MB / 1.273 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.8453, allocations: 7.938 kB / 1.273 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004641/0.8499, allocations: 2.758 MB / 1.276 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.85, allocations: 8 kB / 1.276 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.85, allocations: 8 kB / 1.276 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.85, allocations: 12 kB / 1.276 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.8512, allocations: 255.7 kB / 1.276 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/0.8512, allocations: 15.94 kB / 1.276 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.8529, allocations: 218.8 kB / 1.276 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.8531, allocations: 79.97 kB / 1.276 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002291/0.8554, allocations: 1.389 MB / 1.278 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001916/0.8573, allocations: 1.293 MB / 1.279 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003168/0.8605, allocations: 2.02 MB / 1.281 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.051e-05/0.8606, allocations: 7.984 kB / 1.281 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005254/0.8658, allocations: 2.44 MB / 1.283 GB, free: 464 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.8659, allocations: 8 kB / 1.283 GB, free: 456 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.8659, allocations: 8 kB / 1.283 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.8659, allocations: 12 kB / 1.283 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.867, allocations: 251.6 kB / 1.283 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.727e-05/0.867, allocations: 19.92 kB / 1.283 GB, free: 164 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.869, allocations: 195.3 kB / 1.284 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.8691, allocations: 63.98 kB / 1.284 GB, free: 15.91 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.8695, allocations: 224 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006026/0.8701, allocations: 186.7 kB / 1.284 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.8725, allocations: 0.8063 MB / 1.285 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.8725, allocations: 3.938 kB / 1.285 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8725, allocations: 0 / 1.285 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8725, allocations: 0 / 1.285 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.8745, allocations: 1.095 MB / 1.286 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.8746, allocations: 0 / 1.286 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.8751, allocations: 83.92 kB / 1.286 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.8752, allocations: 0 / 1.286 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.8752, allocations: 12 kB / 1.286 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8752, allocations: 7.938 kB / 1.286 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8752, allocations: 0 / 1.286 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.8774, allocations: 0.8734 MB / 1.287 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.8785, allocations: 379.6 kB / 1.287 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005989/0.8791, allocations: 8 kB / 1.287 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.8804, allocations: 91.88 kB / 1.287 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.8805, allocations: 23.97 kB / 1.287 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.8805, allocations: 12 kB / 1.287 GB, free: 12.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003704/0.8842, allocations: 2.071 MB / 1.289 GB, free: 9.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8843, allocations: 0 / 1.289 GB, free: 9.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00245/0.8867, allocations: 0.6831 MB / 1.29 GB, free: 9.246 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003419/0.8902, allocations: 1.672 MB / 1.292 GB, free: 7.543 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005058/0.8952, allocations: 2.775 MB / 1.294 GB, free: 4.766 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8953, allocations: 0 / 1.294 GB, free: 4.766 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.8961, allocations: 298.4 kB / 1.295 GB, free: 4.477 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/0.9001, allocations: 0.9056 MB / 1.296 GB, free: 3.582 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/0.9305, allocations: 19.46 MB / 1.315 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.9318, allocations: 1.413 MB / 1.316 GB, free: 14.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002007/0.9338, allocations: 0.5258 MB / 1.317 GB, free: 13.74 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.9349, allocations: 0.6633 MB / 1.317 GB, free: 13.08 MB / 1.045 GB Notification: Performance of SimCode: time 1.112e-06/0.9349, allocations: 0 / 1.317 GB, free: 13.08 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09558/1.031, allocations: 54.8 MB / 1.371 GB, free: 7.098 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.1, allocations: 7.875 kB / 1.371 GB, free: 7.09 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches