Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007409/0.007409, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001437/0.001437, allocations: 193.5 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 59.91 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9574/0.9587, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005981/0.9647, allocations: 4.422 MB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.9678, allocations: 2.71 MB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.9679, allocations: 0.8125 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.9683, allocations: 46.25 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.9686, allocations: 102.3 kB / 1.095 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.97, allocations: 0.4957 MB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.9704, allocations: 231.1 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 7.75e-05/0.9704, allocations: 18.12 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.9718, allocations: 413.8 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.9719, allocations: 91.88 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.972, allocations: 7.656 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.9732, allocations: 498.8 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.9733, allocations: 33.5 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.9734, allocations: 84.72 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007394/0.9742, allocations: 347.5 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.9742, allocations: 0.5312 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9742, allocations: 0 / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.9742, allocations: 1.531 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008407/0.9751, allocations: 0.509 MB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.9751, allocations: 9.219 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.9753, allocations: 23.53 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.9756, allocations: 208 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.9757, allocations: 11.48 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.9757, allocations: 18.12 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.9762, allocations: 252 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.9762, allocations: 1.516 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.9762, allocations: 6.656 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.9763, allocations: 10.09 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006958/0.977, allocations: 429.6 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.9783, allocations: 0.9996 MB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.9786, allocations: 160.4 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.9788, allocations: 69.97 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.9804, allocations: 1.821 MB / 1.102 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.9804, allocations: 41.55 kB / 1.102 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.9804, allocations: 1.094 kB / 1.102 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0004173/0.9808, allocations: 151.6 kB / 1.102 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.9809, allocations: 62.23 kB / 1.102 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.9811, allocations: 174.8 kB / 1.102 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.9812, allocations: 32.33 kB / 1.102 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.9813, allocations: 144.9 kB / 1.102 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.9813, allocations: 51.62 kB / 1.102 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.9814, allocations: 53.31 kB / 1.102 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.9816, allocations: 326.3 kB / 1.103 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.9817, allocations: 35.75 kB / 1.103 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.9819, allocations: 140.1 kB / 1.103 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.9821, allocations: 208.2 kB / 1.103 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9821, allocations: 1.125 kB / 1.103 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000388/0.9825, allocations: 213.3 kB / 1.103 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.9826, allocations: 6.344 kB / 1.103 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.9826, allocations: 7.797 kB / 1.103 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.9826, allocations: 6.422 kB / 1.103 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.9828, allocations: 59.19 kB / 1.103 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.9829, allocations: 12.8 kB / 1.103 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.983, allocations: 32.67 kB / 1.103 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.983, allocations: 15.47 kB / 1.103 GB, free: 10.06 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001337/0.9832, allocations: 132 kB / 1.103 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.9832, allocations: 16.34 kB / 1.103 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.9836, allocations: 149.8 kB / 1.104 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.9836, allocations: 7.016 kB / 1.104 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9836, allocations: 0 / 1.104 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.9836, allocations: 5.984 kB / 1.104 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.9839, allocations: 220.1 kB / 1.104 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.9839, allocations: 0 / 1.104 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.984, allocations: 22.22 kB / 1.104 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.984, allocations: 1.031 kB / 1.104 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.984, allocations: 7.031 kB / 1.104 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.9841, allocations: 4.453 kB / 1.104 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9841, allocations: 0.9375 kB / 1.104 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.9844, allocations: 227.7 kB / 1.104 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.9845, allocations: 106.2 kB / 1.104 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.9845, allocations: 1.812 kB / 1.104 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.9848, allocations: 25 kB / 1.104 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.9848, allocations: 7.234 kB / 1.104 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.9848, allocations: 15.86 kB / 1.104 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.777e-05/0.9849, allocations: 120.5 kB / 1.104 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9849, allocations: 0 / 1.104 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004137/0.9854, allocations: 78.81 kB / 1.104 GB, free: 9.215 MB / 0.8731 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003725/0.9858, allocations: 181.5 kB / 1.105 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.986, allocations: 119.1 kB / 1.105 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.9861, allocations: 3.984 kB / 1.105 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.9862, allocations: 52.91 kB / 1.105 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.9866, allocations: 42.08 kB / 1.105 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/0.9874, allocations: 348.8 kB / 1.105 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.9878, allocations: 0.7111 MB / 1.106 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000178/0.9879, allocations: 51.08 kB / 1.106 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.988, allocations: 22.25 kB / 1.106 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.988, allocations: 0 / 1.106 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of Templates: time 0.008413/0.9964, allocations: 3.355 MB / 1.109 GB, free: 7.73 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches