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.001292/0.001292, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.001374/0.001374, allocations: 156.9 kB / 23.01 MB, free: 4.961 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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.002/3.002, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 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.00218/0.00218, allocations: 67.88 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9941/0.9963, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002139/0.9985, allocations: 1.281 MB / 1.188 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002776/1.001, allocations: 2.379 MB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/1.001, allocations: 0 / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/1.001, allocations: 1.453 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/1.001, allocations: 5.406 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/1.002, allocations: 130.2 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.925e-05/1.002, allocations: 38.28 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/1.002, allocations: 2.875 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/1.002, allocations: 20.25 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/1.002, allocations: 22.14 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/1.002, allocations: 2.312 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/1.002, allocations: 102.2 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/1.002, allocations: 15.98 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/1.003, allocations: 12.81 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/1.003, allocations: 78.52 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.003, allocations: 1.312 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.224e-06/1.003, allocations: 0.6562 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.003, allocations: 0 / 1.191 GB, free: 13.54 MB / 1.076 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.0003293/1.003, allocations: 279.1 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.003, allocations: 9.406 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/1.003, allocations: 16.17 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.217e-05/1.003, allocations: 109.7 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/1.003, allocations: 6.594 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/1.003, allocations: 4 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/1.004, allocations: 155.2 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.004, allocations: 0 / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.004, allocations: 1.312 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.004, allocations: 5.344 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/1.004, allocations: 17.42 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/1.004, allocations: 384.6 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/1.004, allocations: 73.62 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/1.004, allocations: 29.73 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/1.004, allocations: 1.094 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/1.004, allocations: 41.83 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/1.004, allocations: 0 / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0005257/1.005, allocations: 226.1 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/1.005, allocations: 103.9 kB / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.681e-05/1.005, allocations: 101.5 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/1.005, allocations: 31.05 kB / 1.192 GB, free: 11.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/1.005, allocations: 89.91 kB / 1.192 GB, free: 11.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/1.005, allocations: 30.31 kB / 1.192 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/1.005, allocations: 23.11 kB / 1.192 GB, free: 11.83 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.026e-05/1.005, allocations: 323.4 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/1.005, allocations: 12.84 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/1.005, allocations: 54.02 kB / 1.193 GB, free: 11.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.118e-05/1.005, allocations: 77.67 kB / 1.193 GB, free: 11.38 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.005, allocations: 5.094 kB / 1.193 GB, free: 11.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001222/1.005, allocations: 98 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.005, allocations: 8.75 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.005, allocations: 1.25 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.005, allocations: 2.859 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-05/1.005, allocations: 17.94 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.005, allocations: 3.391 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/1.005, allocations: 2.719 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/1.005, allocations: 7.594 kB / 1.193 GB, free: 11.32 MB / 1.076 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 5.025e-05/1.005, allocations: 126.1 kB / 1.193 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/1.006, allocations: 11.19 kB / 1.193 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/1.006, allocations: 9.797 kB / 1.193 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.006, allocations: 3.422 kB / 1.193 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.006, allocations: 0 / 1.193 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.006, allocations: 2 kB / 1.193 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/1.006, allocations: 121.9 kB / 1.193 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.006, allocations: 0 / 1.193 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/1.006, allocations: 16.03 kB / 1.193 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.006, allocations: 1.812 kB / 1.193 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/1.006, allocations: 6.219 kB / 1.193 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.006, allocations: 1.062 kB / 1.193 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.006, allocations: 5.625 kB / 1.193 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/1.006, allocations: 332.4 kB / 1.193 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/1.006, allocations: 9.781 kB / 1.193 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/1.006, allocations: 1.859 kB / 1.193 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/1.006, allocations: 8.391 kB / 1.193 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/1.006, allocations: 5.812 kB / 1.193 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/1.006, allocations: 2.531 kB / 1.193 GB, free: 10.72 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.944e-05/1.006, allocations: 80 kB / 1.194 GB, free: 10.65 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.006, allocations: 7.938 kB / 1.194 GB, free: 10.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003222/1.007, allocations: 14.03 kB / 1.194 GB, free: 10.64 MB / 1.076 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.0001/1.007, allocations: 108.4 kB / 1.194 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001181/1.007, allocations: 46.86 kB / 1.194 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.007, allocations: 0 / 1.194 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/1.007, allocations: 21.64 kB / 1.194 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/1.007, allocations: 15.89 kB / 1.194 GB, free: 10.51 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/1.008, allocations: 331.6 kB / 1.194 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.327e-05/1.008, allocations: 68.44 kB / 1.194 GB, free: 10.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.23e-05/1.008, allocations: 8.453 kB / 1.194 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/1.008, allocations: 12.66 kB / 1.194 GB, free: 10.14 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/1.008, allocations: 0 / 1.194 GB, free: 10.14 MB / 1.076 GB Notification: Performance of Templates: time 0.00353/1.012, allocations: 0.647 MB / 1.195 GB, free: 10.05 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.17965235200245]