Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001019/0.001019, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001538/0.001538, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 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.057/1.057, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 2.47/2.47, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.388e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002936/0.002959, allocations: 1.363 MB / 0.8399 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004441/0.007401, allocations: 3.079 MB / 0.8429 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.007436, allocations: 0 / 0.8429 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.00746, allocations: 0 / 0.8429 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.162e-05/0.007512, allocations: 7.938 kB / 0.8429 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.008097, allocations: 103.4 kB / 0.843 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.467e-05/0.008181, allocations: 35.86 kB / 0.843 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.008219, allocations: 7.969 kB / 0.8431 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004977/0.008717, allocations: 155.6 kB / 0.8432 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.008768, allocations: 23.91 kB / 0.8432 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.008781, allocations: 0 / 0.8432 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.008951, allocations: 63.77 kB / 0.8433 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.008966, allocations: 4 kB / 0.8433 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.008995, allocations: 15.97 kB / 0.8433 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.009165, allocations: 63.8 kB / 0.8434 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.009169, allocations: 0 / 0.8434 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.613e-06/0.00917, allocations: 0 / 0.8434 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.009175, allocations: 0 / 0.8434 GB, free: 9.309 MB / 0.8073 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.0003491/0.009524, allocations: 244.6 kB / 0.8436 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.009563, allocations: 12.62 kB / 0.8436 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.009601, allocations: 4.938 kB / 0.8436 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.009689, allocations: 109.7 kB / 0.8437 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.009703, allocations: 4.375 kB / 0.8437 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.009735, allocations: 12.36 kB / 0.8437 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.009883, allocations: 127.3 kB / 0.8439 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.009892, allocations: 192 / 0.8439 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.009904, allocations: 8.125 kB / 0.8439 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.009912, allocations: 4 kB / 0.8439 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.00995, allocations: 11.98 kB / 0.8439 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.01009, allocations: 69 kB / 0.8439 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.097e-05/0.01017, allocations: 42.56 kB / 0.844 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.0102, allocations: 20.84 kB / 0.844 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005087/0.01071, allocations: 216.3 kB / 0.8442 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.01074, allocations: 38.5 kB / 0.8443 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.01074, allocations: 0 / 0.8443 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0005716/0.01131, allocations: 229.2 kB / 0.8445 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.01134, allocations: 55.41 kB / 0.8445 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.01141, allocations: 106.7 kB / 0.8446 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.01143, allocations: 29.7 kB / 0.8447 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.01147, allocations: 92.03 kB / 0.8447 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.01149, allocations: 23.8 kB / 0.8448 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.01154, allocations: 25.7 kB / 0.8448 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.01163, allocations: 322.8 kB / 0.8451 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.01165, allocations: 4 kB / 0.8451 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.279e-05/0.01169, allocations: 41.16 kB / 0.8451 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.482e-05/0.01177, allocations: 72.98 kB / 0.8452 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01177, allocations: 0 / 0.8452 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001185/0.01189, allocations: 81.72 kB / 0.8453 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01191, allocations: 4 kB / 0.8453 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01192, allocations: 0 / 0.8453 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.01194, allocations: 12.02 kB / 0.8453 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.01202, allocations: 16 kB / 0.8453 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.01202, allocations: 4.125 kB / 0.8453 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.01206, allocations: 8 kB / 0.8453 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.01207, allocations: 7.938 kB / 0.8453 GB, free: 7.043 MB / 0.8073 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 7.516e-05/0.01214, allocations: 117.8 kB / 0.8455 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.01217, allocations: 15.86 kB / 0.8455 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.0122, allocations: 8.125 kB / 0.8455 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.0122, allocations: 0 / 0.8455 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.0122, allocations: 0 / 0.8455 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.0122, allocations: 4.438 kB / 0.8455 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.01236, allocations: 77.88 kB / 0.8456 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01236, allocations: 4 kB / 0.8456 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.01241, allocations: 27.98 kB / 0.8456 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01241, allocations: 0 / 0.8456 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.01242, allocations: 3.938 kB / 0.8456 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01242, allocations: 0 / 0.8456 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01242, allocations: 7.938 kB / 0.8456 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.01255, allocations: 147.5 kB / 0.8457 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.01257, allocations: 11.94 kB / 0.8457 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.01258, allocations: 7.938 kB / 0.8458 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.601e-05/0.01264, allocations: 0 / 0.8458 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.01266, allocations: 7.984 kB / 0.8458 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.01266, allocations: 4 kB / 0.8458 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.326e-05/0.01267, allocations: 12.84 kB / 0.8458 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01267, allocations: 0 / 0.8458 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001419/0.01282, allocations: 12 kB / 0.8458 GB, free: 6.539 MB / 0.8073 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.0001053/0.01292, allocations: 84.36 kB / 0.8459 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.029e-05/0.01299, allocations: 36.78 kB / 0.8459 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.01299, allocations: 4 kB / 0.8459 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.01301, allocations: 21.09 kB / 0.8459 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.01314, allocations: 8 kB / 0.8459 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.01362, allocations: 232.4 kB / 0.8462 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.01365, allocations: 63.34 kB / 0.8462 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.01368, allocations: 4 kB / 0.8462 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.01374, allocations: 71.36 kB / 0.8463 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.01374, allocations: 0 / 0.8463 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of Templates: time 0.002354/0.0161, allocations: 0.7177 MB / 0.847 GB, free: 5.258 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.364932511933148]