Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.0008812/0.0008811, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005486/0.005486, allocations: 170 kB / 16.26 MB, free: 6.613 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 12.28 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6711/0.6715, allocations: 142.4 MB / 0.9552 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003601/0.6751, allocations: 3.414 MB / 0.9585 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001504/0.6753, allocations: 161 kB / 0.9586 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.628e-05/0.6754, allocations: 1.906 kB / 0.9586 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.6755, allocations: 0 / 0.9586 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.6755, allocations: 7.438 kB / 0.9586 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.6758, allocations: 93.7 kB / 0.9587 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.6759, allocations: 51.88 kB / 0.9588 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.676, allocations: 1.562 kB / 0.9588 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.676, allocations: 21.14 kB / 0.9588 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.6761, allocations: 14.27 kB / 0.9588 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.6761, allocations: 1.188 kB / 0.9588 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.6766, allocations: 190.1 kB / 0.959 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.6766, allocations: 14.72 kB / 0.959 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.6766, allocations: 35.2 kB / 0.9591 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.6768, allocations: 50.83 kB / 0.9591 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6768, allocations: 0 / 0.9591 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6768, allocations: 0 / 0.9591 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.6768, allocations: 0 / 0.9591 GB, free: 4.703 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002826/0.6771, allocations: 329.1 kB / 0.9594 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.6771, allocations: 8.25 kB / 0.9594 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.6772, allocations: 32.12 kB / 0.9595 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.6772, allocations: 2.312 kB / 0.9595 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.476e-05/0.6773, allocations: 169.7 kB / 0.9596 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.6773, allocations: 31.64 kB / 0.9596 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.6773, allocations: 5.5 kB / 0.9597 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.6775, allocations: 47.25 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.6775, allocations: 0 / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.6775, allocations: 0 / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.6775, allocations: 1.375 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.101e-05/0.6776, allocations: 13.61 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.6779, allocations: 337 kB / 0.96 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.087e-05/0.6779, allocations: 23.86 kB / 0.9601 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.304e-05/0.678, allocations: 6.203 kB / 0.9601 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/0.678, allocations: 86.41 kB / 0.9601 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.6781, allocations: 39.94 kB / 0.9602 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.6781, allocations: 3.938 kB / 0.9602 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000125/0.6782, allocations: 36.08 kB / 0.9602 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.6782, allocations: 51.41 kB / 0.9603 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.455e-05/0.6783, allocations: 105 kB / 0.9604 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.6783, allocations: 29.64 kB / 0.9604 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.6783, allocations: 85.39 kB / 0.9605 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.6783, allocations: 9.281 kB / 0.9605 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.6784, allocations: 9.719 kB / 0.9605 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.6784, allocations: 319.7 kB / 0.9608 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.6784, allocations: 7 kB / 0.9608 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.6785, allocations: 17.16 kB / 0.9608 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.6785, allocations: 20.45 kB / 0.9608 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.6785, allocations: 0 / 0.9608 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.488e-05/0.6786, allocations: 50.42 kB / 0.9609 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.6786, allocations: 5.719 kB / 0.9609 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6786, allocations: 4.75 kB / 0.9609 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.6786, allocations: 1.062 kB / 0.9609 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.373e-05/0.6787, allocations: 8.641 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6787, allocations: 1.156 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.6787, allocations: 1.312 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.6787, allocations: 1.312 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 4.97e-05/0.6788, allocations: 120.3 kB / 0.961 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.6788, allocations: 1.594 kB / 0.961 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.888e-05/0.6789, allocations: 127.2 kB / 0.9612 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.6789, allocations: 177.7 kB / 0.9613 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/0.6789, allocations: 185.8 kB / 0.9615 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.679, allocations: 176.3 kB / 0.9617 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.6791, allocations: 408.7 kB / 0.9621 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.6791, allocations: 109.3 kB / 0.9622 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.6791, allocations: 106 kB / 0.9623 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.438e-05/0.6792, allocations: 181.1 kB / 0.9624 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.6792, allocations: 177.4 kB / 0.9626 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.197e-05/0.6792, allocations: 181.8 kB / 0.9628 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-05/0.6792, allocations: 177.7 kB / 0.9629 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.404e-05/0.6793, allocations: 319.3 kB / 0.9633 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.6794, allocations: 183.3 kB / 0.9634 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.6795, allocations: 198.3 kB / 0.9636 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.6796, allocations: 104.3 kB / 0.9637 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.6797, allocations: 185.7 kB / 0.9639 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.6797, allocations: 102.3 kB / 0.964 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.6798, allocations: 87.45 kB / 0.9641 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6798, allocations: 0 / 0.9641 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002269/0.68, allocations: 20.59 kB / 0.9641 GB, free: 15.25 MB / 0.7325 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 (0): * Single equations (assignments): 0 * 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.0004456/0.6804, allocations: 0.8311 MB / 0.9649 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.959e-05/0.6805, allocations: 10.33 kB / 0.9649 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6805, allocations: 0 / 0.9649 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.6805, allocations: 0 / 0.9649 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.6809, allocations: 0.5299 MB / 0.9654 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.6818, allocations: 1.323 MB / 0.9667 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.682, allocations: 0.677 MB / 0.9674 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.6821, allocations: 10.12 kB / 0.9674 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.6821, allocations: 9.938 kB / 0.9674 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.6821, allocations: 0 / 0.9674 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.436/5.118, allocations: 1.319 MB / 0.9687 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/5.118, allocations: 226 kB / 0.9689 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/7.269, allocations: 0 / 0.9689 GB, free: 10.98 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches