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.000946/0.000946, 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.0009514/0.0009514, 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.352/2.352, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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.763e-06/1.763e-06, allocations: 0 / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.487e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.00183/0.001855, allocations: 1.355 MB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.003575, allocations: 1.624 MB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.003605, allocations: 0 / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.003622, allocations: 0 / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.003702, allocations: 19.78 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.004277, allocations: 222.9 kB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.004343, allocations: 43.73 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.00438, allocations: 4 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.004437, allocations: 27.95 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.55e-05/0.004462, allocations: 15.92 kB / 0.8418 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.004476, allocations: 0 / 0.8418 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.004847, allocations: 211.7 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.00486, allocations: 7.938 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.004879, allocations: 11.98 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.005103, allocations: 195.4 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005105, allocations: 4 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005106, allocations: 0 / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.005109, allocations: 0 / 0.8422 GB, free: 10.5 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.0002696/0.005379, allocations: 284.5 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.005411, allocations: 8.031 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.005435, allocations: 4.938 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.205e-05/0.005507, allocations: 113.7 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.005518, allocations: 4.375 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.005527, allocations: 8.312 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.456e-05/0.005602, allocations: 59.95 kB / 0.8426 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.005609, allocations: 4.172 kB / 0.8427 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-06/0.005615, allocations: 4.375 kB / 0.8427 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005621, allocations: 3.938 kB / 0.8427 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.005655, allocations: 35.89 kB / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.993e-05/0.005745, allocations: 77.88 kB / 0.8428 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.005802, allocations: 57.12 kB / 0.8428 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.005824, allocations: 21.77 kB / 0.8428 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004192/0.006243, allocations: 252 kB / 0.8431 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.006264, allocations: 34.56 kB / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.006265, allocations: 0 / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001152/0.00638, allocations: 77.58 kB / 0.8432 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.00641, allocations: 77.11 kB / 0.8433 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.688e-05/0.006457, allocations: 98.72 kB / 0.8434 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.006465, allocations: 25.7 kB / 0.8434 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.782e-05/0.006483, allocations: 80.14 kB / 0.8435 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.006515, allocations: 35.84 kB / 0.8435 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.006541, allocations: 25.72 kB / 0.8435 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.006612, allocations: 322.8 kB / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.006622, allocations: 4 kB / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.006642, allocations: 21.66 kB / 0.8439 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.006677, allocations: 37.67 kB / 0.8439 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006679, allocations: 4 kB / 0.8439 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 5.214e-05/0.006731, allocations: 53.62 kB / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.00674, allocations: 4 kB / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.006743, allocations: 0 / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.006756, allocations: 8.031 kB / 0.844 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.728e-05/0.006803, allocations: 11.98 kB / 0.844 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-06/0.006806, allocations: 4 kB / 0.844 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.006822, allocations: 15.83 kB / 0.844 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.006827, allocations: 4 kB / 0.844 GB, free: 8.465 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.526e-05/0.006883, allocations: 113.8 kB / 0.8441 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.006891, allocations: 7.984 kB / 0.8441 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.243e-05/0.006983, allocations: 85.8 kB / 0.8442 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006985, allocations: 0 / 0.8442 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.006987, allocations: 7.922 kB / 0.8442 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.00699, allocations: 4.031 kB / 0.8442 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.242e-05/0.007052, allocations: 77.83 kB / 0.8443 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.007053, allocations: 0 / 0.8443 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.007077, allocations: 15.98 kB / 0.8443 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.007078, allocations: 0 / 0.8443 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.007083, allocations: 4 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.007084, allocations: 0 / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.007084, allocations: 0 / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.47e-05/0.007149, allocations: 97.83 kB / 0.8444 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.007172, allocations: 19.88 kB / 0.8444 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-06/0.007178, allocations: 4 kB / 0.8444 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-06/0.007187, allocations: 0 / 0.8444 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.007199, allocations: 7.984 kB / 0.8444 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.007204, allocations: 8 kB / 0.8444 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.975e-06/0.007212, allocations: 4.859 kB / 0.8444 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007212, allocations: 0 / 0.8444 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001707/0.007383, allocations: 71.73 kB / 0.8445 GB, free: 7.891 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.000249/0.007632, allocations: 204.3 kB / 0.8447 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.482e-05/0.007697, allocations: 36.78 kB / 0.8447 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.007699, allocations: 0 / 0.8447 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/0.007716, allocations: 24.78 kB / 0.8447 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.007824, allocations: 20.7 kB / 0.8448 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.008171, allocations: 177.4 kB / 0.8449 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.909e-05/0.0082, allocations: 63.34 kB / 0.845 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.00823, allocations: 19.95 kB / 0.845 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.008282, allocations: 63.36 kB / 0.8451 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of SimCode: time 3.5e-07/0.008282, allocations: 0 / 0.8451 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.00339/0.01167, allocations: 2.296 MB / 0.8473 GB, free: 4.953 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 -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.372365958057344]