Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001144/0.001144, allocations: 80.75 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.001214/0.001214, allocations: 181 kB / 23.36 MB, free: 1.133 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.022/1.022, 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.304/2.304, 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.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.559e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002029/0.002055, allocations: 1.426 MB / 0.8399 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.003273, allocations: 1.067 MB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.003311, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.003405, allocations: 11.92 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.003516, allocations: 35.77 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.003898, allocations: 127.3 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.004098, allocations: 239.5 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.004138, allocations: 7.984 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.004239, allocations: 111.8 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.004347, allocations: 115.8 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.004374, allocations: 8 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.004614, allocations: 123.8 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.004689, allocations: 91.84 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.004752, allocations: 71.81 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.004985, allocations: 251.3 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004987, allocations: 3.938 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004988, allocations: 0 / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.004992, allocations: 4 kB / 0.8421 GB, free: 10.52 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004879/0.00548, allocations: 431.9 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.005513, allocations: 12.03 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.005618, allocations: 32.91 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.005766, allocations: 165.5 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.005802, allocations: 28.09 kB / 0.8428 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.005824, allocations: 16.38 kB / 0.8428 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.006037, allocations: 173.6 kB / 0.843 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.006046, allocations: 192 / 0.843 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.006061, allocations: 12.38 kB / 0.843 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.006067, allocations: 3.938 kB / 0.843 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.00636, allocations: 289 kB / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.006534, allocations: 150.3 kB / 0.8434 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.007053, allocations: 418.5 kB / 0.8438 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.007131, allocations: 60.84 kB / 0.8438 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.00731, allocations: 79.88 kB / 0.8439 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.007334, allocations: 38.56 kB / 0.844 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.007336, allocations: 0 / 0.844 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0002847/0.00762, allocations: 209.8 kB / 0.8442 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.007653, allocations: 59.34 kB / 0.8442 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.007721, allocations: 130.5 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.007741, allocations: 33.7 kB / 0.8444 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.217e-05/0.007763, allocations: 88.8 kB / 0.8445 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.007836, allocations: 122.9 kB / 0.8446 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.0079, allocations: 65.64 kB / 0.8446 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.007999, allocations: 330.7 kB / 0.845 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.008064, allocations: 42.81 kB / 0.845 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-05/0.008123, allocations: 43.97 kB / 0.845 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.008253, allocations: 107.8 kB / 0.8451 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.008256, allocations: 0 / 0.8451 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001758/0.008432, allocations: 149.3 kB / 0.8453 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.008445, allocations: 11.98 kB / 0.8453 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.00845, allocations: 0 / 0.8453 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.00846, allocations: 4 kB / 0.8453 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.008661, allocations: 95.86 kB / 0.8454 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.008667, allocations: 7.984 kB / 0.8454 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.274e-05/0.00876, allocations: 55.73 kB / 0.8455 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.008777, allocations: 11.98 kB / 0.8455 GB, free: 6.941 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.92e-05/0.008856, allocations: 132.6 kB / 0.8456 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.008883, allocations: 19.98 kB / 0.8456 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.009134, allocations: 215.3 kB / 0.8458 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.009139, allocations: 7.984 kB / 0.8458 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.009141, allocations: 3.984 kB / 0.8458 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.009149, allocations: 4 kB / 0.8458 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.009301, allocations: 157.6 kB / 0.846 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009303, allocations: 0 / 0.846 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.009483, allocations: 99.84 kB / 0.8461 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.009485, allocations: 0 / 0.8461 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.009499, allocations: 7.984 kB / 0.8461 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.009501, allocations: 4 kB / 0.8461 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.009502, allocations: 0 / 0.8461 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.009705, allocations: 210.3 kB / 0.8463 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.009721, allocations: 19.84 kB / 0.8463 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.00974, allocations: 4 kB / 0.8463 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.009827, allocations: 43.95 kB / 0.8464 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.009896, allocations: 47.86 kB / 0.8464 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.009912, allocations: 11.98 kB / 0.8464 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.849e-05/0.00993, allocations: 12.86 kB / 0.8464 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00993, allocations: 0 / 0.8464 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004679/0.0104, allocations: 95.86 kB / 0.8465 GB, free: 5.809 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0002127/0.01061, allocations: 152.1 kB / 0.8467 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.01081, allocations: 160.8 kB / 0.8468 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.01081, allocations: 4 kB / 0.8468 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.01092, allocations: 112.4 kB / 0.8469 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.01114, allocations: 97.91 kB / 0.847 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.01179, allocations: 351.2 kB / 0.8473 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.477e-05/0.01183, allocations: 84.81 kB / 0.8474 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.01197, allocations: 73.78 kB / 0.8475 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.01214, allocations: 139.2 kB / 0.8476 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.01215, allocations: 0 / 0.8476 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of Templates: time 0.007138/0.01928, allocations: 5.971 MB / 0.8535 GB, free: 14.73 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.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.491158320102841]