Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 165.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.889/2.889, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.8109 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.432e-05/3.655e-05, allocations: 2.312 kB / 0.8109 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.01177/0.01181, allocations: 3.893 MB / 0.8147 GB, free: 13 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006886/0.0187, allocations: 2.233 MB / 0.8168 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.01888, allocations: 1.281 kB / 0.8168 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.01936, allocations: 47.62 kB / 0.8169 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006414/0.02001, allocations: 108.1 kB / 0.817 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.02323, allocations: 0.5578 MB / 0.8175 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.02385, allocations: 267.7 kB / 0.8178 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.192e-05/0.02392, allocations: 9.797 kB / 0.8178 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005809/0.0245, allocations: 160 kB / 0.818 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.02478, allocations: 79.77 kB / 0.818 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.02485, allocations: 13.94 kB / 0.818 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.02628, allocations: 403.1 kB / 0.8184 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.02641, allocations: 35.83 kB / 0.8185 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.0266, allocations: 63.89 kB / 0.8185 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.02795, allocations: 442.6 kB / 0.8189 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.02796, allocations: 1.094 kB / 0.8189 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.333e-06/0.02796, allocations: 4 kB / 0.8189 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.02797, allocations: 0.6562 kB / 0.8189 GB, free: 8.617 MB / 0.7292 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.001482/0.02946, allocations: 455.8 kB / 0.8194 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.02952, allocations: 8.031 kB / 0.8194 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.03342, allocations: 255 kB / 0.8196 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.03397, allocations: 157.5 kB / 0.8198 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.03401, allocations: 12.7 kB / 0.8198 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.03409, allocations: 21.31 kB / 0.8198 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.03541, allocations: 0.5034 MB / 0.8203 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.03543, allocations: 4.125 kB / 0.8203 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/0.0355, allocations: 13.19 kB / 0.8203 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.03554, allocations: 7.984 kB / 0.8203 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.03694, allocations: 245.9 kB / 0.8206 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/0.0401, allocations: 1.16 MB / 0.8217 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.04131, allocations: 184.7 kB / 0.8219 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.04175, allocations: 70.16 kB / 0.8219 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.04178, allocations: 4 kB / 0.8219 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/0.04185, allocations: 47.66 kB / 0.822 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.454e-06/0.04185, allocations: 0 / 0.822 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.001669/0.04352, allocations: 246.6 kB / 0.8222 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.0436, allocations: 55.41 kB / 0.8223 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.04392, allocations: 145.7 kB / 0.8224 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.04399, allocations: 29.7 kB / 0.8224 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.04417, allocations: 132.9 kB / 0.8226 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.04431, allocations: 63.44 kB / 0.8226 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.04451, allocations: 49.92 kB / 0.8227 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003161/0.04483, allocations: 326.8 kB / 0.823 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.04526, allocations: 60.42 kB / 0.8231 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.04587, allocations: 143 kB / 0.8232 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.04694, allocations: 218.3 kB / 0.8234 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.04695, allocations: 0 / 0.8234 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001325/0.04827, allocations: 263.2 kB / 0.8236 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.04831, allocations: 8 kB / 0.8237 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.04833, allocations: 7.984 kB / 0.8237 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/0.04837, allocations: 4 kB / 0.8237 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009689/0.04934, allocations: 76.19 kB / 0.8237 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.04935, allocations: 4 kB / 0.8237 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.04987, allocations: 31.84 kB / 0.8238 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.04992, allocations: 11.98 kB / 0.8238 GB, free: 3.332 MB / 0.7292 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.0002449/0.05016, allocations: 129.7 kB / 0.8239 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.05031, allocations: 23.89 kB / 0.8239 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.05162, allocations: 233 kB / 0.8242 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.05163, allocations: 0 / 0.8242 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.05163, allocations: 0 / 0.8242 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.05164, allocations: 4 kB / 0.8242 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.05216, allocations: 181 kB / 0.8243 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.05216, allocations: 3.984 kB / 0.8243 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.05275, allocations: 47.97 kB / 0.8244 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.05276, allocations: 3.938 kB / 0.8244 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.05279, allocations: 11.94 kB / 0.8244 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.0528, allocations: 3.984 kB / 0.8244 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.0528, allocations: 0 / 0.8244 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.05392, allocations: 299.3 kB / 0.8247 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.05408, allocations: 19.92 kB / 0.8247 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.05415, allocations: 7.938 kB / 0.8247 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.0547, allocations: 19.98 kB / 0.8247 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.05476, allocations: 15.95 kB / 0.8247 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.05481, allocations: 8 kB / 0.8248 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001535/0.05496, allocations: 105.4 kB / 0.8249 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/0.05496, allocations: 4 kB / 0.8249 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007292/0.05569, allocations: 71.89 kB / 0.8249 GB, free: 2.102 MB / 0.7292 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.0003704/0.05606, allocations: 131.1 kB / 0.825 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.05716, allocations: 171.9 kB / 0.8252 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.05717, allocations: 4 kB / 0.8252 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.05762, allocations: 86.58 kB / 0.8253 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/0.05854, allocations: 80.48 kB / 0.8254 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.06022, allocations: 380.9 kB / 0.8257 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.06041, allocations: 103.6 kB / 0.8258 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005595/0.06097, allocations: 49.45 kB / 0.8259 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.06116, allocations: 24.48 kB / 0.8259 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.06116, allocations: 0 / 0.8259 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of Templates: time 0.01469/0.07584, allocations: 3.476 MB / 0.8293 GB, free: 13.69 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9860252409707755]