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.002302/0.002302, allocations: 79.75 kB / 20.24 MB, free: 4.176 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.002723/0.002723, allocations: 153.8 kB / 23.55 MB, free: 0.8672 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.666/1.666, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.062/3.062, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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.094e-06/2.094e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.348e-05, allocations: 4.844 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002768/0.002801, allocations: 1.289 MB / 0.812 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003928/0.006729, allocations: 2.6 MB / 0.8146 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.006762, allocations: 4 kB / 0.8146 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.006778, allocations: 0.7188 kB / 0.8146 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.00684, allocations: 9.344 kB / 0.8146 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.007468, allocations: 129 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.859e-05/0.007566, allocations: 39.84 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.007601, allocations: 7.922 kB / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.007671, allocations: 23.97 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.007745, allocations: 25 kB / 0.8148 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.007762, allocations: 0 / 0.8148 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.008089, allocations: 103.7 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.008106, allocations: 4.531 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.008138, allocations: 16.53 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.008363, allocations: 87.72 kB / 0.815 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.008366, allocations: 0.9688 kB / 0.815 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008367, allocations: 0 / 0.815 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.008371, allocations: 0.9688 kB / 0.815 GB, free: 13.8 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.0005042/0.008876, allocations: 376.2 kB / 0.8154 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.008909, allocations: 10.34 kB / 0.8154 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.009139, allocations: 24.81 kB / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.009256, allocations: 116.5 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.00927, allocations: 4.375 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.009293, allocations: 4.375 kB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.009512, allocations: 158.4 kB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.00952, allocations: 0.7188 kB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.009533, allocations: 4.844 kB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.009537, allocations: 0 / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.518e-05/0.009592, allocations: 16.45 kB / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.01031, allocations: 0.5265 MB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.0105, allocations: 97.11 kB / 0.8163 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.01054, allocations: 27.19 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.01056, allocations: 12.69 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.01059, allocations: 37.39 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.01059, allocations: 0.9375 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0006896/0.01128, allocations: 242.8 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.01137, allocations: 106.8 kB / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.0115, allocations: 158.9 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.01152, allocations: 33.64 kB / 0.8169 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/0.01161, allocations: 134.8 kB / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.01166, allocations: 33.95 kB / 0.817 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.01171, allocations: 31.38 kB / 0.8171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002636/0.01197, allocations: 492.1 kB / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.531e-05/0.01201, allocations: 19.92 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.01209, allocations: 70.11 kB / 0.8176 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.01221, allocations: 89.8 kB / 0.8177 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01221, allocations: 0 / 0.8177 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001862/0.0124, allocations: 101.5 kB / 0.8178 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.01241, allocations: 8 kB / 0.8178 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01242, allocations: 1.125 kB / 0.8178 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.01244, allocations: 7.984 kB / 0.8178 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.01253, allocations: 23.94 kB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01254, allocations: 0.5312 kB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.01258, allocations: 5.062 kB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.0126, allocations: 8.062 kB / 0.8179 GB, free: 10.52 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.0001288/0.01272, allocations: 165.6 kB / 0.818 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.01279, allocations: 15.83 kB / 0.818 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.01282, allocations: 7.812 kB / 0.818 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01283, allocations: 4.594 kB / 0.8181 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.01283, allocations: 0 / 0.8181 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.01283, allocations: 1.625 kB / 0.8181 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.01315, allocations: 136.6 kB / 0.8182 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.01316, allocations: 4 kB / 0.8182 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.01348, allocations: 19.92 kB / 0.8182 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01348, allocations: 1.188 kB / 0.8182 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.01349, allocations: 4 kB / 0.8182 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01349, allocations: 0 / 0.8182 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.0135, allocations: 9.016 kB / 0.8182 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.01389, allocations: 470.2 kB / 0.8187 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.01392, allocations: 8.594 kB / 0.8187 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.01394, allocations: 4 kB / 0.8187 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.01409, allocations: 8.891 kB / 0.8187 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.01411, allocations: 0 / 0.8187 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.01412, allocations: 4 kB / 0.8187 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.832e-05/0.0142, allocations: 132.3 kB / 0.8188 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0142, allocations: 0 / 0.8188 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003009/0.0145, allocations: 12 kB / 0.8188 GB, free: 9.473 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.000154/0.01465, allocations: 105.4 kB / 0.8189 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.01479, allocations: 58.86 kB / 0.819 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01479, allocations: 0 / 0.819 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.01484, allocations: 31.61 kB / 0.819 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.01523, allocations: 15.86 kB / 0.819 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.01588, allocations: 288.7 kB / 0.8193 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.206e-05/0.01597, allocations: 71.3 kB / 0.8194 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.01601, allocations: 8 kB / 0.8194 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.01604, allocations: 12.5 kB / 0.8194 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01605, allocations: 0 / 0.8194 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of Templates: time 0.003779/0.01982, allocations: 0.6859 MB / 0.8201 GB, free: 8.203 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",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: 8.1394458420109]