Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.001073/0.001073, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00134/0.00134, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9927/0.9927, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.994/1.994, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.202e-05, allocations: 6 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001928/0.00196, allocations: 1.322 MB / 0.8128 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.004472, allocations: 2.604 MB / 0.8153 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.004508, allocations: 0.5312 kB / 0.8153 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.00453, allocations: 7.938 kB / 0.8153 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.004576, allocations: 5.594 kB / 0.8153 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.005092, allocations: 124 kB / 0.8155 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.005166, allocations: 45.08 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.005208, allocations: 0 / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.079e-05/0.005268, allocations: 27.91 kB / 0.8155 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.00533, allocations: 13.14 kB / 0.8155 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.005344, allocations: 0 / 0.8155 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.00556, allocations: 111.6 kB / 0.8156 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.005576, allocations: 13.34 kB / 0.8157 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.005601, allocations: 11.94 kB / 0.8157 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.005785, allocations: 79.78 kB / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005788, allocations: 0 / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005789, allocations: 1.75 kB / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.005795, allocations: 0 / 0.8157 GB, free: 13.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003735/0.006169, allocations: 380.2 kB / 0.8161 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.00621, allocations: 8.031 kB / 0.8161 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.006414, allocations: 38.83 kB / 0.8162 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.006493, allocations: 108.6 kB / 0.8163 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.006506, allocations: 384 / 0.8163 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.006532, allocations: 12.31 kB / 0.8163 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.006696, allocations: 155.2 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.006707, allocations: 4.188 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.00672, allocations: 6.406 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.006729, allocations: 0 / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.75e-05/0.006766, allocations: 15.94 kB / 0.8164 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.007267, allocations: 0.5211 MB / 0.817 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.007381, allocations: 93.25 kB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.007412, allocations: 37.2 kB / 0.8171 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.007419, allocations: 3.938 kB / 0.8171 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.007444, allocations: 41.33 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.007446, allocations: 0 / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005297/0.007975, allocations: 234.6 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.008024, allocations: 104.7 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.008105, allocations: 161.9 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.008117, allocations: 25.7 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.008339, allocations: 138.8 kB / 0.8178 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.008355, allocations: 27.75 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.008389, allocations: 33.73 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.0085, allocations: 496.1 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.008521, allocations: 11.98 kB / 0.8183 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-05/0.008567, allocations: 62.12 kB / 0.8184 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.00864, allocations: 91.64 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008641, allocations: 0 / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.927e-05/0.00874, allocations: 94.83 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.008754, allocations: 8 kB / 0.8185 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.008759, allocations: 0.8438 kB / 0.8185 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.008773, allocations: 4 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.008831, allocations: 23.55 kB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.008839, allocations: 7.875 kB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.008864, allocations: 11.95 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.00887, allocations: 4 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.638e-05/0.008936, allocations: 160.6 kB / 0.8187 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.008969, allocations: 7.938 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.008997, allocations: 7.812 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.009, allocations: 4 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.009004, allocations: 6.078 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.009008, allocations: 0 / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.009205, allocations: 132.6 kB / 0.8189 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009207, allocations: 64 / 0.8189 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.009262, allocations: 31.88 kB / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.009264, allocations: 0 / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.009275, allocations: 4.953 kB / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.009277, allocations: 4 kB / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.009279, allocations: 3.984 kB / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.009497, allocations: 455.4 kB / 0.8194 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.009526, allocations: 11.92 kB / 0.8194 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.009539, allocations: 5.031 kB / 0.8194 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.009624, allocations: 4 kB / 0.8194 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.009642, allocations: 7.922 kB / 0.8194 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.009651, allocations: 5.125 kB / 0.8194 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.009684, allocations: 127.2 kB / 0.8195 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009684, allocations: 0 / 0.8195 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002001/0.009884, allocations: 12.88 kB / 0.8195 GB, free: 9.449 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.000123/0.01001, allocations: 112.9 kB / 0.8196 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.926e-05/0.01011, allocations: 44.11 kB / 0.8197 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01011, allocations: 1.344 kB / 0.8197 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.01013, allocations: 31.61 kB / 0.8197 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01042, allocations: 12.59 kB / 0.8197 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/0.01113, allocations: 304.8 kB / 0.82 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.01117, allocations: 59.34 kB / 0.8201 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.44e-05/0.01121, allocations: 11.98 kB / 0.8201 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.01123, allocations: 12.5 kB / 0.8201 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of SimCode: time 7.62e-07/0.01123, allocations: 0 / 0.8201 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of Templates: time 0.002483/0.01372, allocations: 0.677 MB / 0.8208 GB, free: 8.184 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.20701228803955]