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.001648/0.001648, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.0019/0.0019, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.07 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.303/2.303, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8625/0.8641, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006024/0.8702, allocations: 4.417 MB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.873, allocations: 2.709 MB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.29e-05/0.8731, allocations: 1.594 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.8734, allocations: 49.97 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.8738, allocations: 98.17 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.875, allocations: 0.4993 MB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.8753, allocations: 231.4 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.8754, allocations: 14.81 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.8766, allocations: 413.6 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.8768, allocations: 91.66 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.8768, allocations: 7.438 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.878, allocations: 494.7 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.8781, allocations: 38.53 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.8782, allocations: 76.36 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006896/0.8789, allocations: 357 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8789, allocations: 0 / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8789, allocations: 1.062 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8789, allocations: 0 / 1.098 GB, free: 15.43 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.0008214/0.8797, allocations: 0.4971 MB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.8798, allocations: 9.344 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.88, allocations: 23.58 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.8803, allocations: 215.7 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.8803, allocations: 11.73 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.8804, allocations: 13.91 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.8808, allocations: 255.9 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.8809, allocations: 0.5 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.8809, allocations: 7.75 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.8809, allocations: 6.031 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009406/0.8819, allocations: 430.6 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.8835, allocations: 1.007 MB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.8839, allocations: 160.6 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.8841, allocations: 65.89 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.8861, allocations: 1.818 MB / 1.102 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.8862, allocations: 37.05 kB / 1.102 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.8862, allocations: 1.125 kB / 1.102 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0004508/0.8867, allocations: 147.7 kB / 1.102 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.8867, allocations: 65.69 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.887, allocations: 167.7 kB / 1.103 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.8871, allocations: 31.53 kB / 1.103 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.8872, allocations: 149.9 kB / 1.103 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.8873, allocations: 51.33 kB / 1.103 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.8874, allocations: 52.45 kB / 1.103 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.8876, allocations: 326.6 kB / 1.103 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.68e-05/0.8877, allocations: 31.91 kB / 1.103 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.8879, allocations: 148 kB / 1.103 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.8882, allocations: 197.4 kB / 1.104 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.8882, allocations: 2.156 kB / 1.104 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000436/0.8886, allocations: 215.2 kB / 1.104 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.8887, allocations: 7.031 kB / 1.104 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.8887, allocations: 3.156 kB / 1.104 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.8887, allocations: 5.891 kB / 1.104 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.8889, allocations: 62.03 kB / 1.104 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.851e-05/0.889, allocations: 10.69 kB / 1.104 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.8891, allocations: 27.91 kB / 1.104 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.8891, allocations: 11.64 kB / 1.104 GB, free: 10.11 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.0001547/0.8893, allocations: 132.5 kB / 1.104 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.8894, allocations: 15.56 kB / 1.104 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.8898, allocations: 158.3 kB / 1.104 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.8898, allocations: 6.312 kB / 1.104 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8898, allocations: 0.6562 kB / 1.104 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8899, allocations: 5.609 kB / 1.104 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.8902, allocations: 219.8 kB / 1.104 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.8902, allocations: 0.5625 kB / 1.104 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.8903, allocations: 22.38 kB / 1.104 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.8903, allocations: 1.25 kB / 1.104 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.8904, allocations: 5.953 kB / 1.104 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.8904, allocations: 5.25 kB / 1.104 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8904, allocations: 0.6562 kB / 1.104 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.8907, allocations: 226.1 kB / 1.105 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.8908, allocations: 105.1 kB / 1.105 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.8909, allocations: 2.156 kB / 1.105 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.8911, allocations: 28.31 kB / 1.105 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.8911, allocations: 12.42 kB / 1.105 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.8912, allocations: 12.56 kB / 1.105 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001203/0.8913, allocations: 115 kB / 1.105 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8913, allocations: 0 / 1.105 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004472/0.8917, allocations: 79.64 kB / 1.105 GB, free: 9.25 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.0004423/0.8922, allocations: 178.1 kB / 1.105 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.8925, allocations: 124.6 kB / 1.105 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8925, allocations: 0.5625 kB / 1.105 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.8926, allocations: 49.67 kB / 1.105 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.8931, allocations: 41.64 kB / 1.105 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008832/0.894, allocations: 365.6 kB / 1.106 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.8944, allocations: 0.7112 MB / 1.106 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.8944, allocations: 29.38 kB / 1.106 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.8945, allocations: 4 kB / 1.107 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of Templates: time 0.007096/0.9016, allocations: 3.158 MB / 1.11 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches