Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001402/0.001402, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002033/0.002033, allocations: 213.2 kB / 22.24 MB, free: 5.262 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.801 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.38/3.38, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.Examples.PropyleneGlycolWaterDerivativeCheck,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.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,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.Examples.PropyleneGlycolWaterDerivativeCheck") [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.002133/0.002133, allocations: 70.23 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4414, allocations: 176.1 MB / 1.325 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.004279/0.4457, allocations: 1.279 MB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006221/0.4519, allocations: 2.768 MB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.452, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.452, allocations: 7.922 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.4521, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007935/0.4529, allocations: 91.56 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.453, allocations: 47.78 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/0.4531, allocations: 11.92 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008478/0.4539, allocations: 179.4 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.454, allocations: 19.91 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.454, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.4542, allocations: 55.84 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.4543, allocations: 7.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.4543, allocations: 15.92 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.4546, allocations: 59.81 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4546, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4546, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.4546, allocations: 0 / 1.33 GB, free: 13.4 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.0006195/0.4552, allocations: 274.3 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.4552, allocations: 8.031 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.4553, allocations: 4.938 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.4555, allocations: 110.5 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.4555, allocations: 4.375 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.4555, allocations: 8.375 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.4558, allocations: 138.8 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.4558, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.4559, allocations: 8 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.4559, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.4559, allocations: 19.97 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.4562, allocations: 117.2 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.4563, allocations: 46.55 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.4564, allocations: 12.86 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008696/0.4573, allocations: 246.1 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4573, allocations: 34.55 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.774e-06/0.4573, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0008581/0.4582, allocations: 233.1 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4582, allocations: 55.34 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.4583, allocations: 97.86 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.4584, allocations: 33.7 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.4584, allocations: 84.09 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.4585, allocations: 31.73 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.4585, allocations: 25.7 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.4587, allocations: 318.8 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.4588, allocations: 12 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.4589, allocations: 53.08 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.4591, allocations: 77.08 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4591, allocations: 448 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002408/0.4593, allocations: 93.83 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.4593, allocations: 11.94 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4593, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4594, allocations: 4.125 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4595, allocations: 27.98 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.4595, allocations: 3.938 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.4596, allocations: 4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.4596, allocations: 11.98 kB / 1.332 GB, free: 10.96 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.0001407/0.4597, allocations: 118.3 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.4598, allocations: 3.953 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.4598, allocations: 12.06 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4598, allocations: 0 / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4598, allocations: 0 / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4598, allocations: 0 / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.4602, allocations: 133.3 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4602, allocations: 0 / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.4603, allocations: 12 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.4603, allocations: 7.938 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4604, allocations: 3.938 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4604, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4604, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.4607, allocations: 175.4 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.4607, allocations: 4.031 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.4607, allocations: 8 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.4609, allocations: 4 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.4609, allocations: 7.984 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.4609, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.38e-05/0.461, allocations: 83.28 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.461, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004673/0.4615, allocations: 12 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001854/0.4617, allocations: 103.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.4619, allocations: 44.03 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4619, allocations: 4.062 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.4619, allocations: 19.98 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.4624, allocations: 8 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/0.4634, allocations: 326.8 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.4635, allocations: 67.34 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.716e-05/0.4636, 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.39e-05/0.4636, allocations: 11.44 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.4636, allocations: 0 / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of Templates: time 0.004927/0.4685, allocations: 0.6535 MB / 1.334 GB, free: 9.059 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.562531244009733]