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.001861/0.001861, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.00203/0.00203, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 3.041/3.041, 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 9.218e-06/9.218e-06, allocations: 0 / 0.8108 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.348e-05/4.27e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007675/0.007717, allocations: 4.181 MB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004074/0.01179, allocations: 2.536 MB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.01192, allocations: 6.125 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.01222, allocations: 47.62 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.01255, allocations: 103.3 kB / 0.8176 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.01408, allocations: 0.5606 MB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.01444, allocations: 269.3 kB / 0.8184 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.01449, allocations: 13.8 kB / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.01477, allocations: 151.6 kB / 0.8185 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.01494, allocations: 79.77 kB / 0.8186 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.01498, allocations: 9.062 kB / 0.8186 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007739/0.01575, allocations: 403 kB / 0.819 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.01584, allocations: 47.86 kB / 0.819 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.01595, allocations: 60.5 kB / 0.8191 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007429/0.01669, allocations: 442.4 kB / 0.8195 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.0167, allocations: 4 kB / 0.8195 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.373e-06/0.0167, allocations: 0 / 0.8195 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.01671, allocations: 7.875 kB / 0.8195 GB, free: 9.16 MB / 0.7761 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.0009252/0.01763, allocations: 0.5346 MB / 0.82 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.01767, allocations: 8.031 kB / 0.8201 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.01975, allocations: 237.9 kB / 0.8203 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.02005, allocations: 164.3 kB / 0.8204 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.02007, allocations: 12.7 kB / 0.8205 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.02012, allocations: 21.41 kB / 0.8205 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.02092, allocations: 0.5143 MB / 0.821 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.02093, allocations: 1.312 kB / 0.821 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.02097, allocations: 16.12 kB / 0.821 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.02099, allocations: 8 kB / 0.821 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006589/0.02165, allocations: 240.7 kB / 0.8212 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.02363, allocations: 1.64 MB / 0.8228 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.02428, allocations: 191 kB / 0.823 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.02449, allocations: 72.88 kB / 0.8231 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.02453, allocations: 4 kB / 0.8231 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.02457, allocations: 45.33 kB / 0.8231 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.02457, allocations: 1.938 kB / 0.8231 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.000783/0.02535, allocations: 242.9 kB / 0.8234 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.0254, allocations: 55.41 kB / 0.8234 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.02558, allocations: 211.3 kB / 0.8236 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.02562, allocations: 33.7 kB / 0.8236 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.02575, allocations: 176.2 kB / 0.8238 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.02582, allocations: 63.48 kB / 0.8239 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.02594, allocations: 63.53 kB / 0.8239 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004882/0.02643, allocations: 0.4931 MB / 0.8244 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.02663, allocations: 64.42 kB / 0.8245 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.02694, allocations: 173 kB / 0.8246 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.02744, allocations: 244.1 kB / 0.8249 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.02744, allocations: 0 / 0.8249 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006232/0.02806, allocations: 257.8 kB / 0.8251 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.02809, allocations: 11.94 kB / 0.8251 GB, free: 3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.02809, allocations: 0 / 0.8251 GB, free: 3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.02811, allocations: 4 kB / 0.8251 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.02848, allocations: 67.89 kB / 0.8252 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.02849, allocations: 4 kB / 0.8252 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.02873, allocations: 35.77 kB / 0.8252 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.02876, allocations: 8.312 kB / 0.8252 GB, free: 2.883 MB / 0.7761 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.0001632/0.02892, allocations: 180.5 kB / 0.8254 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.02899, allocations: 19.89 kB / 0.8254 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006481/0.02964, allocations: 233 kB / 0.8257 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.02964, allocations: 4 kB / 0.8257 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.02965, allocations: 0 / 0.8257 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.02965, allocations: 0 / 0.8257 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.02995, allocations: 192.5 kB / 0.8259 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.02995, allocations: 4 kB / 0.8259 GB, free: 2.211 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.03027, allocations: 47.97 kB / 0.8259 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.03028, allocations: 3.984 kB / 0.8259 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.0303, allocations: 7.938 kB / 0.8259 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.0303, allocations: 3.984 kB / 0.8259 GB, free: 2.148 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0303, allocations: 4 kB / 0.8259 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.03094, allocations: 351.7 kB / 0.8263 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.03103, allocations: 27.81 kB / 0.8263 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.03107, allocations: 11.92 kB / 0.8263 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.03132, allocations: 12 kB / 0.8263 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.03135, allocations: 11.97 kB / 0.8263 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.03138, allocations: 15.94 kB / 0.8263 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001057/0.03149, allocations: 144.2 kB / 0.8265 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.03149, allocations: 0 / 0.8265 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003819/0.03187, allocations: 71.94 kB / 0.8265 GB, free: 1.492 MB / 0.7761 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.000236/0.03211, allocations: 135.2 kB / 0.8267 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005596/0.03267, allocations: 196.8 kB / 0.8269 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.03267, allocations: 0 / 0.8269 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.0329, allocations: 93.64 kB / 0.8269 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.03345, allocations: 81.8 kB / 0.827 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.03439, allocations: 371.2 kB / 0.8274 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.03453, allocations: 103 kB / 0.8275 GB, free: 488 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002595/0.03479, allocations: 49.47 kB / 0.8275 GB, free: 440 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.03488, allocations: 24.48 kB / 0.8275 GB, free: 416 kB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.03488, allocations: 3.938 kB / 0.8275 GB, free: 412 kB / 0.7761 GB Notification: Performance of Templates: time 0.008957/0.04384, allocations: 3.484 MB / 0.8309 GB, free: 13.03 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] 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: 8.290005046059377]