Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007966/0.007966, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.001677/0.001678, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.485/2.485, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.88 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9453/0.9466, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005302/0.9519, allocations: 4.065 MB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.9547, allocations: 2.43 MB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.9548, allocations: 0 / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.9551, allocations: 51.67 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.9555, allocations: 99.41 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.9568, allocations: 0.5339 MB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.9571, allocations: 267.8 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/0.9572, allocations: 9.562 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.9574, allocations: 111.7 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.9576, allocations: 103.5 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.9576, allocations: 12 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008054/0.9584, allocations: 455.3 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.9585, allocations: 39.89 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.9586, allocations: 79.66 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007421/0.9593, allocations: 415.2 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9594, allocations: 0 / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9594, allocations: 0 / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.9594, allocations: 0 / 1.175 GB, free: 11.15 MB / 0.9044 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.000859/0.9603, allocations: 0.5025 MB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.9603, allocations: 16.92 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.9622, allocations: 172.6 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.9626, allocations: 216.1 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.9626, allocations: 8.703 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.9627, allocations: 16.38 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.9633, allocations: 300.4 kB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.9633, allocations: 7.938 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.9634, allocations: 7.984 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.9634, allocations: 8 kB / 1.176 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007108/0.9641, allocations: 259.6 kB / 1.177 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.9659, allocations: 1.393 MB / 1.178 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006634/0.9666, allocations: 194.7 kB / 1.178 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.9668, allocations: 80.81 kB / 1.178 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.9668, allocations: 19.83 kB / 1.178 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.9669, allocations: 30.56 kB / 1.178 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.9669, allocations: 0 / 1.178 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0007941/0.9677, allocations: 251.9 kB / 1.178 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.9677, allocations: 55.41 kB / 1.179 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.9679, allocations: 160.5 kB / 1.179 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.9679, allocations: 29.7 kB / 1.179 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.968, allocations: 132.2 kB / 1.179 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.9681, allocations: 59.48 kB / 1.179 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-05/0.9682, allocations: 53.88 kB / 1.179 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9683, allocations: 322.8 kB / 1.179 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.9686, allocations: 68.42 kB / 1.179 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.9688, allocations: 142.2 kB / 1.179 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.9693, allocations: 221.2 kB / 1.18 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9693, allocations: 0 / 1.18 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006005/0.9699, allocations: 255.7 kB / 1.18 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.97, allocations: 4 kB / 1.18 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.97, allocations: 4 kB / 1.18 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.97, allocations: 4 kB / 1.18 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.9704, allocations: 67.89 kB / 1.18 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.9704, allocations: 4 kB / 1.18 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.9706, allocations: 36.08 kB / 1.18 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.9706, allocations: 15.98 kB / 1.18 GB, free: 5.719 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.000128/0.9708, allocations: 129.7 kB / 1.18 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.9708, allocations: 15.91 kB / 1.18 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006301/0.9715, allocations: 232.8 kB / 1.18 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.9715, allocations: 3.938 kB / 1.18 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.9715, allocations: 0 / 1.18 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9715, allocations: 4 kB / 1.18 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.9718, allocations: 249.4 kB / 1.181 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9718, allocations: 0 / 1.181 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.9721, allocations: 43.97 kB / 1.181 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.9721, allocations: 0 / 1.181 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.9721, allocations: 11.98 kB / 1.181 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9721, allocations: 0 / 1.181 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9721, allocations: 0 / 1.181 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.9727, allocations: 303.2 kB / 1.181 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.9728, allocations: 104.9 kB / 1.181 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.9729, allocations: 4 kB / 1.181 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.9731, allocations: 15.98 kB / 1.181 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.9732, allocations: 15.92 kB / 1.181 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.9732, allocations: 19.98 kB / 1.181 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.9733, allocations: 117.7 kB / 1.181 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9733, allocations: 0 / 1.181 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003699/0.9737, allocations: 59.94 kB / 1.181 GB, free: 4.316 MB / 0.9044 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 (20): * Single equations (assignments): 20 * 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.00021/0.9739, allocations: 136.4 kB / 1.181 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005354/0.9744, allocations: 189.9 kB / 1.182 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9744, allocations: 0.625 kB / 1.182 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.9747, allocations: 87.89 kB / 1.182 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.9751, allocations: 55.88 kB / 1.182 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000928/0.9761, allocations: 411.1 kB / 1.182 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.9764, allocations: 0.7173 MB / 1.183 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002502/0.9766, allocations: 45.94 kB / 1.183 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.9767, allocations: 27.42 kB / 1.183 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.9767, allocations: 4 kB / 1.183 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of Templates: time 0.00717/0.9839, allocations: 3.421 MB / 1.186 GB, free: 15.23 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches