Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001638/0.001638, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002038/0.002038, allocations: 218.8 kB / 22.99 MB, free: 4.914 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.238/3.238, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 64.14 kB / 1.187 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4301, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002476/0.4326, allocations: 1.276 MB / 1.366 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.4359, allocations: 2.372 MB / 1.368 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.4359, allocations: 0 / 1.368 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.436, allocations: 7.938 kB / 1.368 GB, free: 9.926 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.436, allocations: 3.984 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.4366, allocations: 127.4 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.231e-05/0.4367, allocations: 43.8 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.4367, allocations: 0 / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.4368, allocations: 23.97 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.4368, allocations: 11.92 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.4369, allocations: 8 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.4371, allocations: 107.7 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.4372, allocations: 4 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.4372, allocations: 23.91 kB / 1.369 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.4374, allocations: 75.73 kB / 1.369 GB, free: 9.504 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4374, allocations: 0 / 1.369 GB, free: 9.504 MB / 1.061 GB Notification: Performance of FrontEnd: time 7.81e-07/0.4374, allocations: 0 / 1.369 GB, free: 9.504 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.4374, allocations: 0 / 1.369 GB, free: 9.504 MB / 1.061 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.0004001/0.4378, allocations: 274.3 kB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4378, allocations: 12.03 kB / 1.369 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.438, allocations: 24.88 kB / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.4381, allocations: 110.5 kB / 1.369 GB, free: 9.039 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4382, allocations: 4.375 kB / 1.369 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.4382, allocations: 8.375 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.4384, allocations: 149.4 kB / 1.369 GB, free: 8.848 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4384, allocations: 0 / 1.369 GB, free: 8.848 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4384, allocations: 4 kB / 1.369 GB, free: 8.844 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4384, allocations: 4 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.4385, allocations: 11.92 kB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.4391, allocations: 388.9 kB / 1.37 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.4392, allocations: 71.75 kB / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.4393, allocations: 18.7 kB / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.4393, allocations: 0 / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4393, allocations: 42.5 kB / 1.37 GB, free: 8.234 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.4393, allocations: 0 / 1.37 GB, free: 8.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006282/0.4399, allocations: 233 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.44, allocations: 103.1 kB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.4401, allocations: 105.8 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4401, allocations: 33.64 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.4402, allocations: 88.09 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.4402, allocations: 31.73 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.4402, allocations: 29.7 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4404, allocations: 314.8 kB / 1.371 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.4404, allocations: 15.98 kB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.4405, allocations: 53.08 kB / 1.371 GB, free: 7.137 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.4406, allocations: 85.61 kB / 1.371 GB, free: 7.035 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4406, allocations: 0 / 1.371 GB, free: 7.035 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001444/0.4407, allocations: 97.48 kB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4408, allocations: 8 kB / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4408, allocations: 0 / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4408, allocations: 4 kB / 1.371 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.4409, allocations: 19.98 kB / 1.371 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.4409, allocations: 0 / 1.371 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.4409, allocations: 12.12 kB / 1.371 GB, free: 6.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.4409, allocations: 7.938 kB / 1.371 GB, free: 6.883 MB / 1.061 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 9.179e-05/0.441, allocations: 117.8 kB / 1.371 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.4411, allocations: 7.953 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.4411, allocations: 11.73 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4411, allocations: 0 / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.4411, allocations: 4 kB / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4411, allocations: 0 / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.4414, allocations: 121.2 kB / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4414, allocations: 0 / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.604e-05/0.4415, allocations: 23.98 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4415, allocations: 3.938 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4415, allocations: 4 kB / 1.371 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4415, allocations: 7.938 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4415, allocations: 0 / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.4418, allocations: 326 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.4418, allocations: 7.953 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.4418, allocations: 0 / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.442, allocations: 12.03 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.442, allocations: 4 kB / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.442, allocations: 4 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.4421, allocations: 91.2 kB / 1.372 GB, free: 6.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4421, allocations: 0 / 1.372 GB, free: 6.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003074/0.4424, allocations: 12 kB / 1.372 GB, free: 6.078 MB / 1.061 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.0001411/0.4425, allocations: 107.3 kB / 1.372 GB, free: 5.961 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.4427, allocations: 51.86 kB / 1.372 GB, free: 5.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.4427, allocations: 256 / 1.372 GB, free: 5.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.4427, allocations: 23.92 kB / 1.372 GB, free: 5.887 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.4431, allocations: 8.125 kB / 1.372 GB, free: 5.879 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.4438, allocations: 366.5 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.781e-05/0.4439, allocations: 71.98 kB / 1.372 GB, free: 5.391 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.444, allocations: 11.44 kB / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.444, allocations: 0 / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of Templates: time 0.002649/0.4466, allocations: 0.8097 MB / 1.373 GB, free: 4.578 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.270706265233457]