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.001036/0.001036, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001005/0.001005, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9603/0.9603, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.924/1.924, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.663e-06/1.663e-06, allocations: 0 / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.013e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001684/0.001704, allocations: 1.318 MB / 0.8128 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.004263, allocations: 2.616 MB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.004307, allocations: 0 / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.004332, allocations: 0.7188 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.004393, allocations: 3.938 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005858/0.004979, allocations: 137.1 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.198e-05/0.005051, allocations: 36.38 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.005084, allocations: 0 / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.606e-05/0.00514, allocations: 29.28 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.0052, allocations: 19.97 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.005212, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.005439, allocations: 108.8 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.005456, allocations: 11.98 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.005479, allocations: 7.984 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.005659, allocations: 84.97 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005661, allocations: 0 / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005662, allocations: 0 / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.005666, allocations: 1.156 kB / 0.8158 GB, free: 13.42 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.0003383/0.006005, allocations: 380.2 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.006044, allocations: 12.03 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.006226, allocations: 21.89 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.303e-05/0.006299, allocations: 117.4 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.00631, allocations: 4.375 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.006338, allocations: 9.219 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.006489, allocations: 154.4 kB / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.006496, allocations: 192 / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.006508, allocations: 5.406 kB / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006516, allocations: 0 / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.006549, allocations: 11.94 kB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.007031, allocations: 0.5219 MB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.007144, allocations: 98.39 kB / 0.8171 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.007174, allocations: 39.14 kB / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-06/0.007184, allocations: 3.938 kB / 0.8171 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.007208, allocations: 42.69 kB / 0.8171 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.007209, allocations: 0 / 0.8171 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005007/0.00771, allocations: 235.2 kB / 0.8174 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.007753, allocations: 110.8 kB / 0.8175 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.007825, allocations: 153.9 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.007839, allocations: 36.33 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.007893, allocations: 134.8 kB / 0.8178 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.007917, allocations: 31.73 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.007952, allocations: 35.36 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.008076, allocations: 496.1 kB / 0.8183 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.008096, allocations: 4 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.008147, allocations: 66.11 kB / 0.8184 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.008223, allocations: 89.02 kB / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.008224, allocations: 0 / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001084/0.008333, allocations: 97.48 kB / 0.8186 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.008345, allocations: 4.656 kB / 0.8186 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.008351, allocations: 4.719 kB / 0.8186 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.008366, allocations: 4 kB / 0.8186 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.008425, allocations: 26.86 kB / 0.8186 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.008432, allocations: 4 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.008456, allocations: 3.953 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.008463, allocations: 4 kB / 0.8186 GB, free: 10.16 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 7.29e-05/0.008536, allocations: 164.5 kB / 0.8188 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.008578, allocations: 11.94 kB / 0.8188 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.008603, allocations: 11.81 kB / 0.8188 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008605, allocations: 6.531 kB / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.008609, allocations: 0 / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.008616, allocations: 8.594 kB / 0.8188 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.008812, allocations: 124.6 kB / 0.8189 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.008814, allocations: 4 kB / 0.8189 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.008862, allocations: 15.94 kB / 0.8189 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008864, allocations: 0 / 0.8189 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.008875, allocations: 4.938 kB / 0.8189 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.008876, allocations: 3.984 kB / 0.8189 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008877, allocations: 1.125 kB / 0.8189 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.009106, allocations: 474.1 kB / 0.8194 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.009132, allocations: 15.95 kB / 0.8194 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.009142, allocations: 1.062 kB / 0.8194 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.009232, allocations: 4 kB / 0.8194 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.009251, allocations: 7.984 kB / 0.8194 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.009257, allocations: 5.094 kB / 0.8194 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.009295, allocations: 123.2 kB / 0.8195 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009295, allocations: 0 / 0.8195 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002185/0.009513, allocations: 17.06 kB / 0.8196 GB, free: 9.113 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.0001074/0.009621, allocations: 108.8 kB / 0.8197 GB, free: 9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.009724, allocations: 48.09 kB / 0.8197 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.009728, allocations: 4 kB / 0.8197 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.009751, allocations: 28.92 kB / 0.8197 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.01004, allocations: 15.94 kB / 0.8198 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.01071, allocations: 286.4 kB / 0.82 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.316e-05/0.01077, allocations: 67.34 kB / 0.8201 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.0108, allocations: 0 / 0.8201 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.01083, allocations: 12.5 kB / 0.8201 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/0.01083, allocations: 4 kB / 0.8201 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of Templates: time 0.002659/0.01349, allocations: 0.684 MB / 0.8208 GB, free: 7.855 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.2081527463160455]