Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001594, allocations: 110.4 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 191.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.88 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9735/0.9755, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00467/0.9802, allocations: 3.738 MB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001735/0.9804, allocations: 154.5 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.9805, allocations: 1.156 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.752e-05/0.9805, allocations: 0.7969 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.63e-05/0.9806, allocations: 13.91 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.9809, allocations: 86.33 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.938e-05/0.981, allocations: 33.05 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.9811, allocations: 3.375 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.9811, allocations: 18.94 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.9812, allocations: 8.984 kB / 1.267 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.9812, allocations: 1 kB / 1.267 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.9817, allocations: 189.7 kB / 1.267 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.9818, allocations: 9.141 kB / 1.267 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.9818, allocations: 9.719 kB / 1.267 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.9819, allocations: 47.45 kB / 1.267 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9819, allocations: 1.312 kB / 1.267 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.982, allocations: 0 / 1.267 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.982, allocations: 0 / 1.267 GB, free: 5.055 MB / 0.9981 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.0003078/0.9823, allocations: 337.4 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.9823, allocations: 9.562 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.9824, allocations: 6.766 kB / 1.267 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.416e-05/0.9824, allocations: 162.3 kB / 1.267 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.9825, allocations: 36.53 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.9825, allocations: 1.25 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.9826, allocations: 47.44 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.9826, allocations: 0 / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.9826, allocations: 4.797 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.9827, allocations: 2.453 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.9827, allocations: 16.3 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.9831, allocations: 337 kB / 1.268 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.085e-05/0.9831, allocations: 20.83 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.9831, allocations: 6.406 kB / 1.268 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.9832, allocations: 83.86 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.9832, allocations: 32.23 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.9832, allocations: 1 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001259/0.9834, allocations: 41.08 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.9834, allocations: 52.16 kB / 1.268 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/0.9834, allocations: 102.6 kB / 1.268 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.9835, allocations: 29.7 kB / 1.268 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.9835, allocations: 86.28 kB / 1.268 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.9835, allocations: 9.703 kB / 1.268 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.9835, allocations: 14.11 kB / 1.268 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.9836, allocations: 321 kB / 1.268 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.9836, allocations: 7.734 kB / 1.268 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.9836, allocations: 19.19 kB / 1.268 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.9837, allocations: 20.78 kB / 1.268 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9837, allocations: 0.8438 kB / 1.268 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.375e-05/0.9837, allocations: 50.11 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.9838, allocations: 5.688 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.9838, allocations: 9.062 kB / 1.269 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.9838, allocations: 0.9688 kB / 1.269 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.9838, allocations: 5 kB / 1.269 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.9838, allocations: 1.516 kB / 1.269 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.9839, allocations: 5 kB / 1.269 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.9839, allocations: 2.641 kB / 1.269 GB, free: 3.109 MB / 0.9981 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.17e-05/0.9839, allocations: 119.8 kB / 1.269 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.9839, allocations: 1.562 kB / 1.269 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.536e-05/0.984, allocations: 127 kB / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.984, allocations: 181.1 kB / 1.269 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/0.9841, allocations: 182.8 kB / 1.269 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.9841, allocations: 185.8 kB / 1.269 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.9842, allocations: 411.7 kB / 1.27 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.9842, allocations: 106.9 kB / 1.27 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.9843, allocations: 102.3 kB / 1.27 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/0.9843, allocations: 182.7 kB / 1.27 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.9843, allocations: 181.7 kB / 1.27 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.017e-05/0.9843, allocations: 181.6 kB / 1.27 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-05/0.9844, allocations: 177.6 kB / 1.271 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.9845, allocations: 314.8 kB / 1.271 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.9846, allocations: 180.3 kB / 1.271 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.9847, allocations: 182.3 kB / 1.271 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.9849, allocations: 105.9 kB / 1.271 GB, free: 16.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.985, allocations: 185.5 kB / 1.272 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.985, allocations: 102.5 kB / 1.272 GB, free: 15.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.29e-05/0.9851, allocations: 87.12 kB / 1.272 GB, free: 15.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9851, allocations: 0 / 1.272 GB, free: 15.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002329/0.9853, allocations: 20.17 kB / 1.272 GB, free: 15.72 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 (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.0002675/0.9856, allocations: 204.4 kB / 1.272 GB, free: 15.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.9857, allocations: 15.98 kB / 1.272 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9857, allocations: 0 / 1.272 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.9857, allocations: 0.625 kB / 1.272 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.9861, allocations: 456.4 kB / 1.272 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.9863, allocations: 205.5 kB / 1.273 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.9866, allocations: 0.6785 MB / 1.273 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.9867, allocations: 9.656 kB / 1.273 GB, free: 14.17 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.9867, allocations: 0 / 1.273 GB, free: 14.17 MB / 1.014 GB Notification: Performance of Templates: time 0.00236/0.989, allocations: 0.7581 MB / 1.274 GB, free: 14.11 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.11560094403103]