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.00111/0.00111, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001565/0.001565, allocations: 185 kB / 24.09 MB, free: 416 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.9897/0.9897, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.823/1.823, allocations: 377.9 MB / 0.6239 GB, free: 8.418 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.633e-06/1.633e-06, allocations: 0 / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.049e-05, allocations: 4.844 kB / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001971/0.001991, allocations: 1.318 MB / 0.8133 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.004462, allocations: 2.589 MB / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.004497, allocations: 0 / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.004516, allocations: 0 / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.004557, allocations: 4 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.005079, allocations: 134.2 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.916e-05/0.005149, allocations: 39.84 kB / 0.816 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.97e-05/0.005178, allocations: 3.938 kB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.005243, allocations: 23.97 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.005307, allocations: 13.73 kB / 0.816 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.005319, allocations: 0 / 0.816 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.005536, allocations: 111.6 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.005553, allocations: 15.92 kB / 0.8161 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.00557, allocations: 9.047 kB / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.005732, allocations: 79.83 kB / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005734, allocations: 0 / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.11e-07/0.005734, allocations: 4.75 kB / 0.8162 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.005738, allocations: 0 / 0.8162 GB, free: 13.15 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.0003253/0.006063, allocations: 381.3 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.006097, allocations: 8.031 kB / 0.8166 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.006247, allocations: 27.58 kB / 0.8166 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.95e-05/0.006317, allocations: 116.5 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.006328, allocations: 4.375 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.006345, allocations: 4.375 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.006462, allocations: 154.4 kB / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.006469, allocations: 192 / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.00648, allocations: 12.11 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.006486, allocations: 0.5312 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.006508, allocations: 12.66 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.006888, allocations: 0.5066 MB / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.006e-05/0.006978, allocations: 94.73 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.006998, allocations: 27.28 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.007006, allocations: 11.92 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.00703, allocations: 41.95 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.007031, allocations: 0 / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000383/0.007414, allocations: 227 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.007453, allocations: 103.7 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.007518, allocations: 161.9 kB / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.007529, allocations: 30.52 kB / 0.8181 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.007573, allocations: 134.8 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.00759, allocations: 28.67 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.007622, allocations: 35.36 kB / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.007733, allocations: 0.4884 MB / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.007749, allocations: 17.09 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.007785, allocations: 58.11 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.35e-05/0.007848, allocations: 85.09 kB / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007849, allocations: 0 / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.937e-05/0.007939, allocations: 93.95 kB / 0.819 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.007949, allocations: 4 kB / 0.819 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.007954, allocations: 3.094 kB / 0.819 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.007966, allocations: 4 kB / 0.819 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.066e-05/0.008017, allocations: 24 kB / 0.819 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008023, allocations: 8 kB / 0.819 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.008044, allocations: 96 / 0.819 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.008048, allocations: 4 kB / 0.819 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.648e-05/0.008115, allocations: 164.6 kB / 0.8192 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.008156, allocations: 17.14 kB / 0.8192 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.008182, allocations: 7.812 kB / 0.8192 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.008185, allocations: 4 kB / 0.8192 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.008187, allocations: 0 / 0.8192 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008191, allocations: 0.625 kB / 0.8192 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.008379, allocations: 117.2 kB / 0.8193 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008381, allocations: 0.5625 kB / 0.8193 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.008427, allocations: 21.17 kB / 0.8193 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.008428, allocations: 0 / 0.8193 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.008435, allocations: 3.938 kB / 0.8193 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.008437, allocations: 5.094 kB / 0.8193 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008438, allocations: 0 / 0.8193 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.008637, allocations: 462.2 kB / 0.8198 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.008658, allocations: 4.656 kB / 0.8198 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.008668, allocations: 8.688 kB / 0.8198 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.008751, allocations: 7.984 kB / 0.8198 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.008765, allocations: 5.156 kB / 0.8198 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.00877, allocations: 4 kB / 0.8198 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.225e-05/0.008803, allocations: 123.2 kB / 0.8199 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008803, allocations: 4.969 kB / 0.8199 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002063/0.009009, allocations: 16 kB / 0.8199 GB, free: 8.93 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 9.167e-05/0.009101, allocations: 104.3 kB / 0.82 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.754e-05/0.009178, allocations: 52.67 kB / 0.8201 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.00918, allocations: 0.9688 kB / 0.8201 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.009202, allocations: 35.66 kB / 0.8201 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.0002561/0.009458, allocations: 16.58 kB / 0.8201 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.00995, allocations: 294.1 kB / 0.8204 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.009993, allocations: 67.33 kB / 0.8205 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.01002, allocations: 4 kB / 0.8205 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.01009, allocations: 86.19 kB / 0.8206 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.01009, allocations: 4 kB / 0.8206 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of Templates: time 0.002203/0.01229, allocations: 0.7421 MB / 0.8213 GB, free: 7.523 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.02743224427104]