Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.00927/0.00927, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.002337/0.002338, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.366/1.366, 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 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 59.91 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8582/0.8597, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.00616/0.866, allocations: 4.425 MB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.8688, allocations: 2.702 MB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.8689, allocations: 0 / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.8691, allocations: 51.69 kB / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.8695, allocations: 99.34 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.8706, allocations: 0.4974 MB / 1.215 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.8708, allocations: 228 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.8709, allocations: 13.55 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008904/0.8718, allocations: 418.8 kB / 1.216 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.8719, allocations: 91.66 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.8719, allocations: 4 kB / 1.216 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000924/0.8728, allocations: 499 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.8729, allocations: 39.83 kB / 1.217 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.873, allocations: 75.66 kB / 1.217 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.8736, allocations: 360.8 kB / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8736, allocations: 0 / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8736, allocations: 0 / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.8736, allocations: 0 / 1.217 GB, free: 4.102 MB / 0.9356 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.0007517/0.8744, allocations: 0.4915 MB / 1.217 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.8744, allocations: 8.031 kB / 1.217 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.8746, allocations: 24.73 kB / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.8749, allocations: 212.1 kB / 1.218 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.8749, allocations: 20.64 kB / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.8749, allocations: 12.38 kB / 1.218 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.8753, allocations: 244.9 kB / 1.218 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.8753, allocations: 0 / 1.218 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.8753, allocations: 15.94 kB / 1.218 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.8754, allocations: 11.94 kB / 1.218 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.8758, allocations: 439.4 kB / 1.218 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.8769, allocations: 0.9998 MB / 1.219 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.8772, allocations: 163 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.8773, allocations: 64.88 kB / 1.22 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/0.8787, allocations: 1.821 MB / 1.221 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.8788, allocations: 34.56 kB / 1.221 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.8788, allocations: 0 / 1.221 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003415/0.8791, allocations: 156 kB / 1.222 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.8792, allocations: 55.34 kB / 1.222 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.8793, allocations: 164 kB / 1.222 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.8793, allocations: 29.7 kB / 1.222 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.8794, allocations: 147.8 kB / 1.222 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.8795, allocations: 51.3 kB / 1.222 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.8796, allocations: 57.61 kB / 1.222 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8797, allocations: 318.8 kB / 1.222 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.8798, allocations: 39.97 kB / 1.222 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.8799, allocations: 143 kB / 1.223 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.8801, allocations: 201.5 kB / 1.223 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8801, allocations: 4 kB / 1.223 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003198/0.8805, allocations: 213.5 kB / 1.223 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.8805, allocations: 8 kB / 1.223 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.8805, allocations: 4 kB / 1.223 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.8805, allocations: 7.938 kB / 1.223 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.8807, allocations: 51.91 kB / 1.223 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.8807, allocations: 11.94 kB / 1.223 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.8808, allocations: 27.69 kB / 1.223 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.8809, allocations: 12 kB / 1.223 GB, free: 13.15 MB / 0.9512 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.0001166/0.881, allocations: 133.9 kB / 1.223 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.881, allocations: 11.91 kB / 1.223 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.8813, allocations: 161.1 kB / 1.223 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.8814, allocations: 7.938 kB / 1.223 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.8814, allocations: 4 kB / 1.223 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8814, allocations: 3.938 kB / 1.223 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.8816, allocations: 213.5 kB / 1.224 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8816, allocations: 0 / 1.224 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.783e-05/0.8817, allocations: 27.94 kB / 1.224 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8817, allocations: 0 / 1.224 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.8817, allocations: 11.97 kB / 1.224 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8818, allocations: 7.938 kB / 1.224 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8818, allocations: 0 / 1.224 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.882, allocations: 215.3 kB / 1.224 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.8821, allocations: 104.9 kB / 1.224 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.8821, allocations: 4 kB / 1.224 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.8823, allocations: 19.92 kB / 1.224 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.8823, allocations: 11.92 kB / 1.224 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.8824, allocations: 15.98 kB / 1.224 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.523e-05/0.8825, allocations: 124.2 kB / 1.224 GB, free: 12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8825, allocations: 0 / 1.224 GB, free: 12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003745/0.8829, allocations: 79.94 kB / 1.224 GB, free: 11.92 MB / 0.9512 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.0003302/0.8832, allocations: 175.1 kB / 1.224 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.8835, allocations: 121.1 kB / 1.224 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8835, allocations: 0 / 1.224 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.11e-05/0.8836, allocations: 51.91 kB / 1.224 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.884, allocations: 56.83 kB / 1.225 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007358/0.8847, allocations: 342.9 kB / 1.225 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.8851, allocations: 0.7129 MB / 1.226 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.8852, allocations: 53.67 kB / 1.226 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.8853, allocations: 23.38 kB / 1.226 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.8853, allocations: 0 / 1.226 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.006807/0.8921, allocations: 3.355 MB / 1.229 GB, free: 7.031 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches