Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.001439/0.001439, 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.001309/0.001309, allocations: 173 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.391/2.391, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.618e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001914/0.001941, allocations: 1.351 MB / 0.8399 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.003074, allocations: 1.17 MB / 0.8411 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.587e-05/0.00317, allocations: 8 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.752e-05/0.003238, allocations: 39.47 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.003369, allocations: 47.48 kB / 0.8412 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.00363, allocations: 127.8 kB / 0.8413 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.003864, allocations: 348.5 kB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.004078, allocations: 158.5 kB / 0.8418 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.004375, allocations: 219.4 kB / 0.842 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.004475, allocations: 95.69 kB / 0.8421 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.00451, allocations: 32 kB / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.004569, allocations: 43.98 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.004609, allocations: 63.77 kB / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.004668, allocations: 99.67 kB / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.004901, allocations: 231 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004903, allocations: 0 / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004903, allocations: 3.938 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004907, allocations: 0 / 0.8425 GB, free: 10.2 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0004596/0.005367, allocations: 0.4885 MB / 0.843 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.005398, allocations: 12.62 kB / 0.843 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.00552, allocations: 52.89 kB / 0.8431 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.005712, allocations: 211.2 kB / 0.8433 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.005741, allocations: 29.38 kB / 0.8433 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.005766, allocations: 28.38 kB / 0.8433 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.00601, allocations: 219.8 kB / 0.8435 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.006019, allocations: 4.188 kB / 0.8435 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.006039, allocations: 12.38 kB / 0.8435 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.006047, allocations: 12.31 kB / 0.8436 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.00615, allocations: 90.89 kB / 0.8436 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.006747, allocations: 0.5182 MB / 0.8442 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.006928, allocations: 138.5 kB / 0.8443 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.006977, allocations: 49.3 kB / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.006999, allocations: 8.234 kB / 0.8443 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.007019, allocations: 38.73 kB / 0.8444 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.007021, allocations: 4 kB / 0.8444 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0001955/0.007216, allocations: 149.1 kB / 0.8445 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.007244, allocations: 55.41 kB / 0.8446 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.00735, allocations: 215.2 kB / 0.8448 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.007364, allocations: 29.7 kB / 0.8448 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.007429, allocations: 168.5 kB / 0.845 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.00747, allocations: 91.23 kB / 0.8451 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.007528, allocations: 69.88 kB / 0.8451 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.007606, allocations: 334.7 kB / 0.8454 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.00764, allocations: 24.55 kB / 0.8455 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.00777, allocations: 103.8 kB / 0.8456 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.007879, allocations: 132.6 kB / 0.8457 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.007882, allocations: 0 / 0.8457 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001494/0.008031, allocations: 162.3 kB / 0.8458 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.008044, allocations: 4 kB / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.008051, allocations: 4 kB / 0.8459 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.008065, allocations: 4 kB / 0.8459 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.008194, allocations: 47.91 kB / 0.8459 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.0082, allocations: 11.94 kB / 0.8459 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.008251, allocations: 19.89 kB / 0.8459 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.008262, allocations: 8.219 kB / 0.8459 GB, free: 6.504 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y,actAirSet.setBacMod.y,actAirSet.warUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 8.456e-05/0.008347, allocations: 133.7 kB / 0.8461 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.008375, allocations: 23.97 kB / 0.8461 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.008533, allocations: 140.2 kB / 0.8462 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.008537, allocations: 4 kB / 0.8462 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.008538, allocations: 0 / 0.8462 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008543, allocations: 3.984 kB / 0.8462 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.0087, allocations: 177.5 kB / 0.8464 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.008703, allocations: 0 / 0.8464 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.358e-05/0.008786, allocations: 39.91 kB / 0.8464 GB, free: 5.957 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008788, allocations: 4 kB / 0.8464 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.008795, allocations: 0 / 0.8464 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.008797, allocations: 0 / 0.8464 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008798, allocations: 4 kB / 0.8464 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.008944, allocations: 227.3 kB / 0.8467 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.00896, allocations: 27.78 kB / 0.8467 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.008975, allocations: 0 / 0.8467 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.009032, allocations: 12 kB / 0.8467 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.009086, allocations: 27.95 kB / 0.8467 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.009093, allocations: 4 kB / 0.8467 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.00913, allocations: 53.78 kB / 0.8468 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.00913, allocations: 3.938 kB / 0.8468 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001637/0.009294, allocations: 59.78 kB / 0.8468 GB, free: 5.523 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: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001129/0.009407, allocations: 88.36 kB / 0.8469 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.009553, allocations: 125.5 kB / 0.847 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.009557, allocations: 0 / 0.847 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/0.009616, allocations: 72.69 kB / 0.8471 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.009793, allocations: 35.17 kB / 0.8472 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.0104, allocations: 454.6 kB / 0.8476 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.115e-05/0.01046, allocations: 92.06 kB / 0.8477 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.894e-05/0.01053, allocations: 38.27 kB / 0.8477 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.202e-05/0.01063, allocations: 91.36 kB / 0.8478 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of SimCode: time 9.91e-07/0.01063, allocations: 3.938 kB / 0.8478 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of Templates: time 0.00396/0.01459, allocations: 1.927 MB / 0.8497 GB, free: 2.633 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.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.446350777056068]