Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.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.0009993/0.0009993, 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.001151/0.001151, allocations: 177 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 0.9947/0.9947, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.53/2.53, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.EthyleneGlycolWater,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.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,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.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.389e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.002762/0.002786, allocations: 1.398 MB / 0.84 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.004607, allocations: 1.215 MB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.004638, allocations: 4 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.004657, allocations: 0 / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.082e-05/0.004738, allocations: 15.86 kB / 0.8412 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.005275, allocations: 139.3 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.005354, allocations: 47.73 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.005389, allocations: 4 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.005462, allocations: 31.89 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.005497, allocations: 15.98 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.00551, allocations: 4 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.0059, allocations: 143.7 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.005918, allocations: 15.92 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.005939, allocations: 11.94 kB / 0.8416 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.006163, allocations: 135.6 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006166, allocations: 0 / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.91e-07/0.006167, allocations: 0 / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.00617, allocations: 0 / 0.8417 GB, free: 11.04 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.0003093/0.00648, allocations: 276.5 kB / 0.842 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.006517, allocations: 8.031 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.00655, allocations: 12.94 kB / 0.842 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.496e-05/0.006645, allocations: 113.7 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.006657, allocations: 384 / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.006666, allocations: 4.375 kB / 0.8421 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.684e-05/0.006763, allocations: 55.95 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006771, allocations: 192 / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.006778, allocations: 4.375 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.006786, allocations: 3.938 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.48e-05/0.006841, allocations: 35.89 kB / 0.8422 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.006966, allocations: 81.88 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.575e-05/0.007042, allocations: 57.19 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.007075, allocations: 25.69 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/0.007667, allocations: 248 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.007695, allocations: 34.56 kB / 0.8426 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.007697, allocations: 0 / 0.8426 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001533/0.00785, allocations: 73.59 kB / 0.8427 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.007887, allocations: 81.11 kB / 0.8428 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.007954, allocations: 98.72 kB / 0.8428 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.007967, allocations: 25.7 kB / 0.8429 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.007993, allocations: 80.14 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.008033, allocations: 35.72 kB / 0.843 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.008069, allocations: 17.72 kB / 0.843 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.008165, allocations: 326.8 kB / 0.8433 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.00818, allocations: 4 kB / 0.8433 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.008209, allocations: 21.66 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.485e-05/0.008263, allocations: 41.8 kB / 0.8434 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.008265, allocations: 3.938 kB / 0.8434 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.271e-05/0.008358, allocations: 57.62 kB / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.008372, allocations: 4 kB / 0.8434 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.008377, allocations: 0 / 0.8434 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.008392, allocations: 0 / 0.8434 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.008466, allocations: 19.98 kB / 0.8435 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.008469, allocations: 4 kB / 0.8435 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.008495, allocations: 11.83 kB / 0.8435 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.008502, allocations: 4 kB / 0.8435 GB, free: 9.012 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 6.679e-05/0.008569, allocations: 125.8 kB / 0.8436 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.008583, allocations: 4 kB / 0.8436 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.008721, allocations: 81.84 kB / 0.8437 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.008723, allocations: 3.938 kB / 0.8437 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.008725, allocations: 0 / 0.8437 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.008729, allocations: 0 / 0.8437 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.094e-05/0.00882, allocations: 78.02 kB / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008822, allocations: 0 / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.008872, allocations: 15.98 kB / 0.8438 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.008876, allocations: 7.984 kB / 0.8438 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.008883, allocations: 8.031 kB / 0.8438 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.008885, allocations: 0 / 0.8438 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.008886, allocations: 0 / 0.8438 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.744e-05/0.008984, allocations: 97.83 kB / 0.8439 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.009014, allocations: 19.88 kB / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.009025, allocations: 0 / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.009044, allocations: 4 kB / 0.8439 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.009061, allocations: 7.984 kB / 0.8439 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.009069, allocations: 8 kB / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.244e-05/0.009082, allocations: 4.859 kB / 0.8439 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009082, allocations: 0 / 0.8439 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002651/0.009347, allocations: 63.8 kB / 0.844 GB, free: 8.438 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.0002871/0.009634, allocations: 156.1 kB / 0.8441 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.442e-05/0.009728, allocations: 44.7 kB / 0.8442 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.009731, allocations: 0 / 0.8442 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.729e-05/0.009759, allocations: 28.84 kB / 0.8442 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.009907, allocations: 12.78 kB / 0.8442 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.01041, allocations: 173.1 kB / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.01045, allocations: 59.34 kB / 0.8444 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.0105, allocations: 12.09 kB / 0.8444 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.01057, allocations: 63.36 kB / 0.8445 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of SimCode: time 7.32e-07/0.01057, allocations: 0 / 0.8445 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of Templates: time 0.004399/0.01497, allocations: 1.834 MB / 0.8463 GB, free: 6.02 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_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.264066697098315]