Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.00132/0.00132, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001068/0.001068, allocations: 177.3 kB / 23.35 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.099/1.099, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.546/2.546, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.Antifreeze.Functions.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.175e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001922/0.001944, allocations: 1.395 MB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.003784, allocations: 1.612 MB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.003815, allocations: 4 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.003838, allocations: 7.922 kB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.681e-05/0.003925, allocations: 15.86 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.004413, allocations: 202.9 kB / 0.8418 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.004481, allocations: 47.72 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.004519, allocations: 7.938 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.004575, allocations: 31.97 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.56e-05/0.0046, allocations: 15.92 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.004612, allocations: 0 / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.005018, allocations: 219.7 kB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.00503, allocations: 7.922 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.005052, allocations: 15.98 kB / 0.8421 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.00527, allocations: 191.4 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.005273, allocations: 0 / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005273, allocations: 0 / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.005277, allocations: 0 / 0.8423 GB, free: 10.39 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000262/0.005539, allocations: 284.5 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.005571, allocations: 12.03 kB / 0.8426 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.005596, allocations: 4.938 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.011e-05/0.005676, allocations: 109.8 kB / 0.8427 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.005687, allocations: 384 / 0.8427 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.005696, allocations: 12.31 kB / 0.8427 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.58e-05/0.005792, allocations: 59.94 kB / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.0058, allocations: 8.125 kB / 0.8427 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.005806, allocations: 384 / 0.8427 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005814, allocations: 3.938 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.00586, allocations: 39.88 kB / 0.8428 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.005964, allocations: 69.91 kB / 0.8429 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/0.006031, allocations: 65.23 kB / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.006054, allocations: 13.78 kB / 0.8429 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/0.006523, allocations: 251.8 kB / 0.8432 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.006548, allocations: 38.56 kB / 0.8432 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.664e-06/0.00655, allocations: 4 kB / 0.8432 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001348/0.006685, allocations: 65.59 kB / 0.8433 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.006715, allocations: 81.11 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.997e-05/0.006775, allocations: 106.7 kB / 0.8435 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.006785, allocations: 29.7 kB / 0.8435 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.006805, allocations: 80.14 kB / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.006836, allocations: 27.73 kB / 0.8436 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.006865, allocations: 25.7 kB / 0.8436 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.00694, allocations: 318.8 kB / 0.8439 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.006951, allocations: 4 kB / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.006975, allocations: 29.81 kB / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.906e-05/0.007014, allocations: 37.64 kB / 0.844 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.007017, allocations: 4 kB / 0.844 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.264e-05/0.007079, allocations: 61.61 kB / 0.844 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.007093, allocations: 7.984 kB / 0.844 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007097, allocations: 0 / 0.844 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.00711, allocations: 0 / 0.844 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.309e-05/0.007163, allocations: 16 kB / 0.8441 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.007166, allocations: 0 / 0.8441 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.007184, allocations: 11.83 kB / 0.8441 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.007194, allocations: 12.03 kB / 0.8441 GB, free: 8.344 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.613e-05/0.00725, allocations: 109.8 kB / 0.8442 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.007261, allocations: 8 kB / 0.8442 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.007367, allocations: 77.84 kB / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007369, allocations: 0 / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.00737, allocations: 0 / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.007373, allocations: 0 / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.829e-05/0.007442, allocations: 85.77 kB / 0.8444 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007443, allocations: 0 / 0.8444 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.007476, allocations: 19.92 kB / 0.8444 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.007478, allocations: 8.031 kB / 0.8444 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-06/0.007482, allocations: 0 / 0.8444 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007484, allocations: 0 / 0.8444 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007485, allocations: 0 / 0.8444 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.99e-05/0.007555, allocations: 93.84 kB / 0.8445 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.007578, allocations: 15.88 kB / 0.8445 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.106e-06/0.007586, allocations: 4 kB / 0.8445 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-06/0.007595, allocations: 4 kB / 0.8445 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.007607, allocations: 3.984 kB / 0.8445 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.007612, allocations: 4 kB / 0.8445 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.49e-05/0.007627, allocations: 8.859 kB / 0.8445 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.51e-07/0.007627, allocations: 0 / 0.8445 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002025/0.00783, allocations: 79.73 kB / 0.8446 GB, free: 7.777 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (9): * Single equations (assignments): 9 * 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.0003016/0.008132, allocations: 192 kB / 0.8448 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.008205, allocations: 44.7 kB / 0.8448 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.008208, allocations: 0 / 0.8448 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.008227, allocations: 28.84 kB / 0.8448 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.00835, allocations: 20.77 kB / 0.8449 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.00877, allocations: 173.3 kB / 0.845 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.008801, allocations: 63.3 kB / 0.8451 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.741e-05/0.008839, allocations: 16.03 kB / 0.8451 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.009029, allocations: 67.36 kB / 0.8452 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of SimCode: time 7.12e-07/0.00903, allocations: 0 / 0.8452 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of Templates: time 0.003709/0.01274, allocations: 2.294 MB / 0.8474 GB, free: 4.844 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5010940483771265]