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.00117/0.00117, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001266/0.001266, allocations: 165 kB / 24.17 MB, free: 332 kB / 18.57 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.045/1.045, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.957/1.957, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.582e-05, allocations: 2.312 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001777/0.001793, allocations: 1.369 MB / 0.7613 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.004474, allocations: 3.017 MB / 0.7643 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.933e-05/0.004494, allocations: 0 / 0.7643 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.004513, allocations: 4.688 kB / 0.7643 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.004557, allocations: 0 / 0.7643 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.004961, allocations: 98.52 kB / 0.7644 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.005033, allocations: 47.83 kB / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.005069, allocations: 4 kB / 0.7644 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.005461, allocations: 188 kB / 0.7646 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.005502, allocations: 15.92 kB / 0.7646 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.005516, allocations: 4 kB / 0.7646 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.005635, allocations: 54.62 kB / 0.7647 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.005648, allocations: 11.98 kB / 0.7647 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.005669, allocations: 11.94 kB / 0.7647 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.005812, allocations: 67.73 kB / 0.7648 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005814, allocations: 0 / 0.7648 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005814, allocations: 0 / 0.7648 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.00582, allocations: 0 / 0.7648 GB, free: 1.812 MB / 0.7136 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.0003055/0.006125, allocations: 249.3 kB / 0.765 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.00616, allocations: 12.03 kB / 0.765 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.006192, allocations: 10.05 kB / 0.765 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.316e-05/0.006265, allocations: 101.8 kB / 0.7651 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.006276, allocations: 5.125 kB / 0.7651 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.006299, allocations: 12.67 kB / 0.7651 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.006417, allocations: 120.9 kB / 0.7653 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.006426, allocations: 192 / 0.7653 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.006437, allocations: 12.12 kB / 0.7653 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.006446, allocations: 3.938 kB / 0.7653 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.387e-05/0.00648, allocations: 17.2 kB / 0.7653 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.006587, allocations: 76.95 kB / 0.7654 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.662e-05/0.006653, allocations: 42.55 kB / 0.7654 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.006669, allocations: 8.859 kB / 0.7654 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/0.007047, allocations: 217.1 kB / 0.7656 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.007071, allocations: 35.34 kB / 0.7657 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.007072, allocations: 0 / 0.7657 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004654/0.007537, allocations: 241.5 kB / 0.7659 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.007564, allocations: 51.41 kB / 0.7659 GB, free: 476 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.007628, allocations: 98.72 kB / 0.766 GB, free: 364 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.007639, allocations: 25.7 kB / 0.7661 GB, free: 332 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.007682, allocations: 92.09 kB / 0.7661 GB, free: 236 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.007697, allocations: 31.72 kB / 0.7662 GB, free: 204 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.007731, allocations: 28.77 kB / 0.7662 GB, free: 172 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.007827, allocations: 318.8 kB / 0.7665 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.007838, allocations: 8 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.007876, allocations: 53.06 kB / 0.7666 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.482e-05/0.007931, allocations: 57.08 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.007934, allocations: 5.062 kB / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.886e-05/0.008023, allocations: 82.94 kB / 0.7667 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.008034, allocations: 4 kB / 0.7667 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.008041, allocations: 4 kB / 0.7667 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.008055, allocations: 0.5938 kB / 0.7667 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.008112, allocations: 27.88 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.008119, allocations: 8.766 kB / 0.7667 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.008141, allocations: 4 kB / 0.7667 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.008147, allocations: 5.219 kB / 0.7668 GB, free: 15.55 MB / 0.7292 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.724e-05/0.008204, allocations: 113.8 kB / 0.7669 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.008226, allocations: 12.88 kB / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.008254, allocations: 8.125 kB / 0.7669 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.008258, allocations: 4 kB / 0.7669 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.00826, allocations: 0.9062 kB / 0.7669 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.008264, allocations: 3.984 kB / 0.7669 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.008404, allocations: 82.36 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008405, allocations: 2.469 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.008453, allocations: 12 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.008454, allocations: 0 / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.008461, allocations: 3.938 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.008461, allocations: 4 kB / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008462, allocations: 0 / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.008586, allocations: 163.7 kB / 0.7671 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.008608, allocations: 8.016 kB / 0.7672 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.008619, allocations: 7.922 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.758e-05/0.008666, allocations: 4 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.008683, allocations: 11.92 kB / 0.7672 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.008687, allocations: 0 / 0.7672 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.115e-05/0.008699, allocations: 8.859 kB / 0.7672 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.008699, allocations: 0 / 0.7672 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000133/0.008832, allocations: 16 kB / 0.7672 GB, free: 15.05 MB / 0.7292 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 9.41e-05/0.008926, allocations: 83.47 kB / 0.7673 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.486e-05/0.009001, allocations: 44.77 kB / 0.7673 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.009004, allocations: 0 / 0.7673 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.009021, allocations: 20.8 kB / 0.7673 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.009162, allocations: 8.859 kB / 0.7674 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.009687, allocations: 224.2 kB / 0.7676 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.009723, allocations: 59.22 kB / 0.7676 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.983e-05/0.009762, allocations: 14.94 kB / 0.7676 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.009815, allocations: 59.38 kB / 0.7677 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of SimCode: time 6.42e-07/0.009816, allocations: 0 / 0.7677 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.002243/0.01206, allocations: 0.7252 MB / 0.7684 GB, free: 13.82 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","",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: 4.943570200819522]