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.001014/0.001014, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001147/0.001147, allocations: 161 kB / 23.82 MB, free: 0.75 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.045/1.045, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.833/1.833, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.613e-06/1.613e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.874e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00215/0.002179, allocations: 1.319 MB / 0.8128 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.00485, allocations: 2.604 MB / 0.8153 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.004879, allocations: 0.8438 kB / 0.8153 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.004906, allocations: 7.922 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.004952, allocations: 9.188 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.005555, allocations: 129.3 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.521e-05/0.00563, allocations: 31.86 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.005666, allocations: 7.984 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.013e-05/0.005726, allocations: 27.91 kB / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.829e-05/0.005785, allocations: 16.98 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.005797, allocations: 0 / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.006028, allocations: 109.1 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.006042, allocations: 7.984 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.006067, allocations: 11.98 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.006256, allocations: 91.7 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.006259, allocations: 0.9688 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.282e-06/0.00626, allocations: 0 / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.006265, allocations: 0 / 0.8158 GB, free: 13.37 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.0003698/0.006634, allocations: 380.9 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.006671, allocations: 8.625 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.006881, allocations: 25.11 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.468e-05/0.006956, allocations: 113.3 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.006968, allocations: 5.031 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.00699, allocations: 4.375 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.007151, allocations: 155.4 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.007161, allocations: 4.172 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.007173, allocations: 8.125 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.007181, allocations: 0.5312 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.007214, allocations: 13.31 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.007718, allocations: 0.5211 MB / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.007832, allocations: 98.23 kB / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.007856, allocations: 31.27 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.007865, allocations: 7.938 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.007893, allocations: 41.86 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.007895, allocations: 0.8438 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0004594/0.008354, allocations: 235.5 kB / 0.8174 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.00839, allocations: 106.8 kB / 0.8175 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.008451, allocations: 157.9 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.008465, allocations: 35.64 kB / 0.8177 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.008502, allocations: 130.8 kB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.00852, allocations: 35.72 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.008551, allocations: 31.38 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.008646, allocations: 496.1 kB / 0.8183 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.008667, allocations: 12.81 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.008704, allocations: 66.11 kB / 0.8184 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.739e-05/0.008771, allocations: 89.42 kB / 0.8185 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.008772, allocations: 0 / 0.8185 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.97e-05/0.008862, allocations: 93.48 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.008875, allocations: 8 kB / 0.8186 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.008879, allocations: 0.625 kB / 0.8186 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.008893, allocations: 4 kB / 0.8186 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.008945, allocations: 20.48 kB / 0.8186 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.008951, allocations: 5.562 kB / 0.8186 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.008978, allocations: 7.953 kB / 0.8186 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.008983, allocations: 4 kB / 0.8186 GB, free: 10.11 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 0.0002052/0.009189, allocations: 160.6 kB / 0.8188 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.009223, allocations: 12.88 kB / 0.8188 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.009246, allocations: 7.812 kB / 0.8188 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.00925, allocations: 5.719 kB / 0.8188 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.009254, allocations: 7.938 kB / 0.8188 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009258, allocations: 0 / 0.8188 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.009446, allocations: 132.6 kB / 0.8189 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.009448, allocations: 0 / 0.8189 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.009497, allocations: 24.69 kB / 0.8189 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.009499, allocations: 0 / 0.8189 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.009507, allocations: 0.9375 kB / 0.8189 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.009509, allocations: 4 kB / 0.819 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.00951, allocations: 1.344 kB / 0.819 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.009708, allocations: 466.2 kB / 0.8194 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.009735, allocations: 15.86 kB / 0.8194 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.009746, allocations: 0.7188 kB / 0.8194 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.009828, allocations: 4 kB / 0.8194 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.009844, allocations: 9.828 kB / 0.8194 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.00985, allocations: 4 kB / 0.8194 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.906e-05/0.009879, allocations: 123.5 kB / 0.8195 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009879, allocations: 0 / 0.8195 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002074/0.01009, allocations: 16 kB / 0.8196 GB, free: 9.078 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.0001091/0.0102, allocations: 114.7 kB / 0.8197 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.0103, allocations: 51.59 kB / 0.8197 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.0103, allocations: 0 / 0.8197 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.97e-05/0.01032, allocations: 27.61 kB / 0.8197 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.0106, allocations: 16.81 kB / 0.8198 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.01121, allocations: 290.5 kB / 0.82 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01125, allocations: 59.34 kB / 0.8201 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.433e-05/0.01128, allocations: 11.98 kB / 0.8201 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.01131, allocations: 12.5 kB / 0.8201 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of SimCode: time 8.71e-07/0.01131, allocations: 0 / 0.8201 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of Templates: time 0.002579/0.01389, allocations: 0.7426 MB / 0.8208 GB, free: 7.777 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.087534194812179]