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.00107/0.00107, allocations: 80.3 kB / 21.47 MB, free: 3.023 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.001248/0.001248, allocations: 166.3 kB / 24.86 MB, free: 9.219 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.883/1.883, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.342e-06/1.342e-06, allocations: 0 / 0.8127 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.36e-05, allocations: 3.156 kB / 0.8127 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001488/0.001501, allocations: 1.323 MB / 0.814 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.003679, allocations: 2.586 MB / 0.8166 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.003708, allocations: 4 kB / 0.8166 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.003724, allocations: 0 / 0.8166 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.09e-05/0.003765, allocations: 11.86 kB / 0.8166 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.004241, allocations: 124.9 kB / 0.8167 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.004309, allocations: 43.83 kB / 0.8167 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.004341, allocations: 1 kB / 0.8167 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.004393, allocations: 23.92 kB / 0.8168 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.004455, allocations: 20.5 kB / 0.8168 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.004466, allocations: 0 / 0.8168 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.004667, allocations: 108.1 kB / 0.8169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.004681, allocations: 9.062 kB / 0.8169 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.004699, allocations: 11.97 kB / 0.8169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.004849, allocations: 83.78 kB / 0.817 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004851, allocations: 0.625 kB / 0.817 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004852, allocations: 0.5312 kB / 0.817 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004856, allocations: 0 / 0.817 GB, free: 13.14 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.0002928/0.005149, allocations: 385.5 kB / 0.8173 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.005178, allocations: 8.031 kB / 0.8174 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.00532, allocations: 29.11 kB / 0.8174 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.394e-05/0.005384, allocations: 113.8 kB / 0.8175 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.005394, allocations: 384 / 0.8175 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.005412, allocations: 12.38 kB / 0.8175 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.005515, allocations: 139.4 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.005524, allocations: 8.109 kB / 0.8176 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.005532, allocations: 12.97 kB / 0.8177 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.005537, allocations: 0 / 0.8177 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.005559, allocations: 8.844 kB / 0.8177 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.005916, allocations: 0.5112 MB / 0.8182 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.006007, allocations: 93.09 kB / 0.8183 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.006027, allocations: 35.12 kB / 0.8183 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.006035, allocations: 8.922 kB / 0.8183 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.006054, allocations: 37.33 kB / 0.8183 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.006056, allocations: 0.9375 kB / 0.8183 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003615/0.006417, allocations: 223.1 kB / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.006453, allocations: 106.8 kB / 0.8186 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.006511, allocations: 162.2 kB / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.006523, allocations: 34.95 kB / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.006566, allocations: 130.8 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.006585, allocations: 35.72 kB / 0.819 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.006617, allocations: 34.45 kB / 0.819 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.00672, allocations: 496.1 kB / 0.8195 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.006732, allocations: 8 kB / 0.8195 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.006768, allocations: 62.09 kB / 0.8196 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.006978, allocations: 86.22 kB / 0.8196 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.00698, allocations: 0.5 kB / 0.8196 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.743e-05/0.007067, allocations: 94.73 kB / 0.8197 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.007079, allocations: 7.984 kB / 0.8197 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.007083, allocations: 1.094 kB / 0.8197 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.007091, allocations: 4 kB / 0.8198 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.546e-05/0.007136, allocations: 16 kB / 0.8198 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.00714, allocations: 4.656 kB / 0.8198 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.007161, allocations: 2.531 kB / 0.8198 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.007168, allocations: 4 kB / 0.8198 GB, free: 9.938 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.482e-05/0.007232, allocations: 172.5 kB / 0.8199 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.007272, allocations: 7.938 kB / 0.8199 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.007296, allocations: 11.81 kB / 0.82 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.007299, allocations: 4 kB / 0.82 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.007301, allocations: 2.906 kB / 0.82 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.007305, allocations: 4 kB / 0.82 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.007496, allocations: 113.2 kB / 0.8201 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.007497, allocations: 0 / 0.8201 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.00755, allocations: 23.98 kB / 0.8201 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007552, allocations: 0 / 0.8201 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.007558, allocations: 3.938 kB / 0.8201 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.00756, allocations: 4 kB / 0.8201 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.007562, allocations: 4.875 kB / 0.8201 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.007764, allocations: 458.2 kB / 0.8206 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.007789, allocations: 9.125 kB / 0.8206 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.0078, allocations: 7.938 kB / 0.8206 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.007885, allocations: 3.984 kB / 0.8206 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.007899, allocations: 5.031 kB / 0.8206 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.007907, allocations: 8 kB / 0.8206 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.404e-05/0.007941, allocations: 123.2 kB / 0.8207 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007941, allocations: 1.125 kB / 0.8207 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002015/0.008142, allocations: 12 kB / 0.8207 GB, free: 8.926 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.0001017/0.008244, allocations: 112.6 kB / 0.8208 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.008334, allocations: 44.94 kB / 0.8209 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008335, allocations: 3 kB / 0.8209 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/0.008358, allocations: 31.61 kB / 0.8209 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.008636, allocations: 15.92 kB / 0.8209 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.009127, allocations: 295.1 kB / 0.8212 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.083e-05/0.009167, allocations: 62.36 kB / 0.8213 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.009199, allocations: 11.98 kB / 0.8213 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.009256, allocations: 90.19 kB / 0.8213 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.009257, allocations: 0 / 0.8213 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of Templates: time 0.002089/0.01135, allocations: 0.7491 MB / 0.8221 GB, free: 7.516 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.248268665745854]