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.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.00133/0.00133, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.001407/0.001407, allocations: 160.1 kB / 23.01 MB, free: 4.938 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.706/2.706, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.00236/0.00236, allocations: 64.19 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.355, allocations: 169.9 MB / 1.117 GB, free: 2.531 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002993/0.358, allocations: 1.27 MB / 1.119 GB, free: 1.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004335/0.3624, allocations: 2.775 MB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.3624, allocations: 0 / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.3624, allocations: 0 / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.3625, allocations: 11.92 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.363, allocations: 99.55 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.708e-05/0.3631, allocations: 35.91 kB / 1.122 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.3632, allocations: 0 / 1.122 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.3638, allocations: 195.3 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.3638, allocations: 15.98 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.3638, allocations: 0 / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.364, allocations: 59.81 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.364, allocations: 3.938 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.364, allocations: 15.98 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.3642, allocations: 63.8 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3642, allocations: 0 / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3642, allocations: 0 / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.3642, allocations: 0 / 1.122 GB, free: 13.97 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.000428/0.3646, allocations: 278.3 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3647, allocations: 8.031 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.3647, allocations: 4.938 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.3648, allocations: 118.4 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3648, allocations: 4.375 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3649, allocations: 384 / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.3651, allocations: 142.9 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3651, allocations: 0 / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3651, allocations: 3.938 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3651, allocations: 4 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.3651, allocations: 19.98 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.3653, allocations: 113.2 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3654, allocations: 50.5 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.3655, allocations: 20.84 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/0.3661, allocations: 237.9 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3661, allocations: 30.56 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3661, allocations: 0 / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.000596/0.3667, allocations: 233.8 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3667, allocations: 59.34 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3668, allocations: 105.8 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3669, allocations: 25.7 kB / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.3669, allocations: 88.09 kB / 1.123 GB, free: 12.24 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.3669, allocations: 31.73 kB / 1.123 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.367, allocations: 25.72 kB / 1.123 GB, free: 12.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3671, allocations: 322.8 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.3672, allocations: 8 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.3672, allocations: 53.14 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.3674, allocations: 77.08 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3674, allocations: 0 / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001611/0.3675, allocations: 93.83 kB / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3675, allocations: 8 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3675, allocations: 3.938 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3676, allocations: 4 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.3676, allocations: 19.94 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3676, allocations: 4.125 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.3677, allocations: 7.984 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3677, allocations: 7.984 kB / 1.124 GB, free: 11.53 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 9.25e-05/0.3678, allocations: 121.7 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.3678, allocations: 3.953 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.3679, allocations: 12.12 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3679, allocations: 0 / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3679, allocations: 0 / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3679, allocations: 0 / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.3681, allocations: 121.2 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3681, allocations: 4 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.3682, allocations: 19.98 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3682, allocations: 0 / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3682, allocations: 4 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3682, allocations: 0 / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3682, allocations: 0 / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.3684, allocations: 179.3 kB / 1.124 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.3684, allocations: 4 kB / 1.124 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.3685, allocations: 0 / 1.124 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3686, allocations: 12.03 kB / 1.124 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3686, allocations: 4 kB / 1.124 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.3686, allocations: 4.062 kB / 1.124 GB, free: 10.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.3686, allocations: 83.27 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3686, allocations: 3.938 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002501/0.3689, allocations: 12 kB / 1.125 GB, free: 10.89 MB / 1.076 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.0001305/0.369, allocations: 103.2 kB / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.3691, allocations: 43.86 kB / 1.125 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3691, allocations: 0 / 1.125 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.3692, allocations: 24.17 kB / 1.125 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.3695, allocations: 11.28 kB / 1.125 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.3701, allocations: 311 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.742e-05/0.3702, allocations: 76.09 kB / 1.125 GB, free: 10.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.583e-05/0.3702, allocations: 11.98 kB / 1.125 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.3702, allocations: 12.5 kB / 1.125 GB, free: 10.26 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.3702, allocations: 0 / 1.125 GB, free: 10.26 MB / 1.076 GB Notification: Performance of Templates: time 0.003401/0.3736, allocations: 0.6188 MB / 1.126 GB, free: 9.648 MB / 1.076 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 ida -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/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.710117371985689]