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.002011/0.002011, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001876/0.001876, allocations: 217.6 kB / 22.25 MB, free: 4.852 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.606/3.606, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002159/0.002159, allocations: 61.66 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4449, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.004007/0.4489, allocations: 1.28 MB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005833/0.4547, allocations: 2.371 MB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.4547, allocations: 3.938 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.4548, allocations: 11.92 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.848e-05/0.4548, allocations: 3.938 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.456, allocations: 123.4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.4561, allocations: 43.91 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.4562, allocations: 3.984 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.848e-05/0.4562, allocations: 16 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.4563, allocations: 15.91 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.4563, allocations: 4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.4568, allocations: 99.75 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.4569, allocations: 11.98 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.4569, allocations: 15.92 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.4573, allocations: 83.72 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4573, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.905e-06/0.4573, allocations: 4 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.4573, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 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.0007069/0.458, allocations: 274.2 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4581, allocations: 8.031 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.4584, allocations: 20.92 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.4586, allocations: 114.4 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4586, allocations: 4.375 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.4586, allocations: 4.375 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.4589, allocations: 153.5 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4589, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.459, allocations: 8 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.459, allocations: 4 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.42e-05/0.459, allocations: 11.92 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.4599, allocations: 392.8 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.4601, allocations: 75.59 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.4602, allocations: 18.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.4602, allocations: 3.938 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.4602, allocations: 38.56 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.4602, allocations: 4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0009376/0.4612, allocations: 225.2 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.4613, allocations: 106.8 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.4615, allocations: 105.7 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.4615, allocations: 29.7 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.4616, allocations: 88.09 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.4616, allocations: 27.73 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.4617, allocations: 29.72 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.4619, allocations: 315 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.231e-05/0.4619, allocations: 19.98 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.462, allocations: 57.08 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.4622, allocations: 69.09 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4622, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002271/0.4624, allocations: 90.06 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.4624, allocations: 9.531 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4625, allocations: 4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.4625, allocations: 4.094 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.4626, allocations: 27.91 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4626, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.4627, allocations: 11.95 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4627, allocations: 4 kB / 1.332 GB, free: 11.18 MB / 1.029 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.0001621/0.4629, allocations: 118.3 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.4629, allocations: 7.984 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.463, allocations: 7.75 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.463, allocations: 4 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.463, allocations: 7.938 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.463, allocations: 64 / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.4635, allocations: 129.2 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4635, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.4636, allocations: 19.92 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.4636, allocations: 4 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4636, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4636, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4637, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.4641, allocations: 326 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.4641, allocations: 8 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.4641, allocations: 7.938 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.4644, allocations: 8.031 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.4645, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4645, allocations: 4 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.883e-05/0.4645, allocations: 87.27 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4645, allocations: 0 / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005198/0.4651, allocations: 8 kB / 1.332 GB, free: 10.38 MB / 1.029 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.0002269/0.4653, allocations: 115.2 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.4655, allocations: 43.86 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4655, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.4657, allocations: 19.92 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.4664, allocations: 8 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.4676, allocations: 349 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.4677, allocations: 71.28 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.891e-05/0.4678, allocations: 11.98 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.4678, allocations: 11.44 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4678, allocations: 0 / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of Templates: time 0.004966/0.4728, allocations: 0.658 MB / 1.334 GB, free: 9.09 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] 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: 9.792616857215762]