Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 202.1 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.8 kB / 1.109 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3532, allocations: 168.7 MB / 1.274 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002516/0.3557, allocations: 1.274 MB / 1.275 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004202/0.3599, allocations: 2.971 MB / 1.278 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.3599, allocations: 0 / 1.278 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.36, allocations: 0 / 1.278 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.36, allocations: 19.84 kB / 1.278 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.3605, allocations: 99.55 kB / 1.278 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.3606, allocations: 39.84 kB / 1.278 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.3607, allocations: 4 kB / 1.278 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.3612, allocations: 167.4 kB / 1.278 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.3613, allocations: 11.92 kB / 1.278 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3613, allocations: 4 kB / 1.278 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.3615, allocations: 71.86 kB / 1.279 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.3615, allocations: 8 kB / 1.279 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.3615, allocations: 19.91 kB / 1.279 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.3617, allocations: 59.81 kB / 1.279 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3617, allocations: 4 kB / 1.279 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3617, allocations: 0 / 1.279 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3617, allocations: 0 / 1.279 GB, free: 6.453 MB / 0.9825 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.00048/0.3622, allocations: 351.3 kB / 1.279 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3622, allocations: 8.031 kB / 1.279 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.3623, allocations: 8.938 kB / 1.279 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3624, allocations: 164.3 kB / 1.279 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3624, allocations: 4.375 kB / 1.279 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.3624, allocations: 8.375 kB / 1.279 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3626, allocations: 57.78 kB / 1.279 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3626, allocations: 3.984 kB / 1.279 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3626, allocations: 4 kB / 1.279 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3626, allocations: 0 / 1.279 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.3626, allocations: 23.91 kB / 1.279 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.3628, allocations: 169.6 kB / 1.279 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3629, allocations: 46.56 kB / 1.279 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.363, allocations: 12.84 kB / 1.279 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007614/0.3637, allocations: 0.5948 MB / 1.28 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3638, allocations: 34.56 kB / 1.28 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3638, allocations: 0 / 1.28 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006209/0.3644, allocations: 302.2 kB / 1.28 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3644, allocations: 55.39 kB / 1.28 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.3645, allocations: 97.86 kB / 1.281 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.3645, allocations: 29.64 kB / 1.281 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.3646, allocations: 88.09 kB / 1.281 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.3646, allocations: 35.73 kB / 1.281 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.3647, allocations: 21.72 kB / 1.281 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3648, allocations: 326.8 kB / 1.281 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.3649, allocations: 12 kB / 1.281 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.3649, allocations: 49.14 kB / 1.281 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.365, allocations: 80.95 kB / 1.281 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.365, allocations: 0 / 1.281 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001507/0.3652, allocations: 97.5 kB / 1.281 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3652, allocations: 8 kB / 1.281 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3652, allocations: 4.125 kB / 1.281 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3652, allocations: 4 kB / 1.281 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.3653, allocations: 16.44 kB / 1.281 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3653, allocations: 3.984 kB / 1.281 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.3653, allocations: 7.938 kB / 1.281 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3653, allocations: 12 kB / 1.281 GB, free: 3.344 MB / 0.9825 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 8.91e-05/0.3654, allocations: 117.8 kB / 1.281 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.3655, allocations: 0 / 1.281 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.3655, allocations: 8.25 kB / 1.281 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3655, allocations: 8 kB / 1.281 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3655, allocations: 0 / 1.281 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3655, allocations: 7.922 kB / 1.281 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.3658, allocations: 173.7 kB / 1.282 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3658, allocations: 0 / 1.282 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.065e-05/0.3659, allocations: 15.98 kB / 1.282 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3659, allocations: 0 / 1.282 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3659, allocations: 4 kB / 1.282 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3659, allocations: 0 / 1.282 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3659, allocations: 3.938 kB / 1.282 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.3661, allocations: 187.4 kB / 1.282 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.3662, allocations: 81.11 kB / 1.282 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3662, allocations: 0 / 1.282 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3663, allocations: 8.031 kB / 1.282 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.3663, allocations: 0 / 1.282 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3663, allocations: 11.94 kB / 1.282 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.3664, allocations: 75.28 kB / 1.282 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3664, allocations: 4 kB / 1.282 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002452/0.3666, allocations: 16 kB / 1.282 GB, free: 2.547 MB / 0.9825 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.000158/0.3668, allocations: 103.8 kB / 1.282 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.3669, allocations: 39.92 kB / 1.282 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3669, allocations: 0 / 1.282 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.3669, allocations: 15.94 kB / 1.282 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.3672, allocations: 13.95 kB / 1.282 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.3679, allocations: 330.1 kB / 1.282 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.3682, allocations: 0.6885 MB / 1.283 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.446e-05/0.3683, allocations: 7.922 kB / 1.283 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.3683, allocations: 15.44 kB / 1.283 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3683, allocations: 0 / 1.283 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of Templates: time 0.003477/0.3718, allocations: 0.6442 MB / 1.284 GB, free: 0.6445 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.645368103403598]