Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001535/0.001535, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.001309/0.001309, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.916/4.916, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 71.83 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458/1.46, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.009285/1.47, allocations: 4.049 MB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004764/1.475, allocations: 2.434 MB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/1.475, allocations: 3.938 kB / 1.215 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004785/1.475, allocations: 43.69 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005786/1.476, allocations: 99.41 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/1.479, allocations: 0.5231 MB / 1.215 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005824/1.479, allocations: 259.9 kB / 1.216 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/1.479, allocations: 9.547 kB / 1.216 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/1.48, allocations: 111.6 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/1.48, allocations: 99.59 kB / 1.216 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/1.48, allocations: 12 kB / 1.216 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/1.482, allocations: 455.3 kB / 1.216 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/1.482, allocations: 43.83 kB / 1.216 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/1.482, allocations: 79.66 kB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/1.483, allocations: 408.7 kB / 1.217 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.483, allocations: 0 / 1.217 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.184e-06/1.484, allocations: 4 kB / 1.217 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.788e-06/1.484, allocations: 0 / 1.217 GB, free: 4.98 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.001223/1.485, allocations: 0.5109 MB / 1.217 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.485, allocations: 8.031 kB / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00369/1.489, allocations: 180.5 kB / 1.218 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/1.489, allocations: 212.2 kB / 1.218 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/1.489, allocations: 8.703 kB / 1.218 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/1.489, allocations: 16.38 kB / 1.218 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/1.49, allocations: 316.3 kB / 1.218 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/1.491, allocations: 0 / 1.218 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/1.491, allocations: 15.98 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/1.491, allocations: 4 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/1.492, allocations: 263.6 kB / 1.218 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/1.495, allocations: 1.377 MB / 1.22 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/1.496, allocations: 190.5 kB / 1.22 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/1.497, allocations: 76.81 kB / 1.22 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/1.497, allocations: 11.98 kB / 1.22 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/1.497, allocations: 30.56 kB / 1.22 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 4.939e-06/1.497, allocations: 3.938 kB / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.00142/1.498, allocations: 243.2 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/1.498, allocations: 59.41 kB / 1.22 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/1.498, allocations: 162.1 kB / 1.22 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/1.498, allocations: 29.7 kB / 1.22 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.499, allocations: 124 kB / 1.221 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/1.499, allocations: 59.11 kB / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/1.499, allocations: 53.86 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.499, allocations: 326.8 kB / 1.221 GB, free: 444 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/1.499, allocations: 68.36 kB / 1.221 GB, free: 376 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/1.5, allocations: 146.2 kB / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/1.501, allocations: 223.4 kB / 1.221 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.501, allocations: 3.938 kB / 1.221 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001106/1.502, allocations: 245.2 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/1.502, allocations: 9.875 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.502, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/1.502, allocations: 4 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/1.503, allocations: 71.88 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.503, allocations: 4.312 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/1.503, allocations: 35.69 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/1.503, allocations: 11.98 kB / 1.222 GB, free: 15.56 MB / 0.9512 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.0002218/1.504, allocations: 129.7 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.504, allocations: 15.91 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/1.505, allocations: 228 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/1.505, allocations: 0 / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.505, allocations: 0 / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/1.505, allocations: 116.8 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/1.505, allocations: 3.984 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/1.506, allocations: 19.98 kB / 1.222 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/1.506, allocations: 15.92 kB / 1.222 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001276/1.507, allocations: 291.2 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001039/1.508, allocations: 370.4 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004109/1.509, allocations: 79.94 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001598/1.509, allocations: 121.5 kB / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of Backend: time 7.11e-07/1.509, allocations: 0 / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.511, allocations: 381.5 kB / 1.223 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001524/1.512, allocations: 0.802 MB / 1.224 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of Templates: time 0.01984/1.532, allocations: 6.284 MB / 1.23 GB, free: 6.711 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches