Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.001487/0.001487, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001704/0.001704, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.026/1.026, allocations: 177.2 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.852/1.852, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.817e-05/5.047e-05, allocations: 5.125 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001705/0.001755, allocations: 1.017 MB / 0.761 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.002772, allocations: 1.037 MB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.002858, allocations: 4 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.0029, allocations: 16.39 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.003014, allocations: 27.56 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.003226, allocations: 67.86 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.003382, allocations: 171.6 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.003528, allocations: 75.36 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.003786, allocations: 119.6 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.003867, allocations: 47.88 kB / 0.7626 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.00389, allocations: 12.59 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.007e-05/0.003941, allocations: 21.34 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.003975, allocations: 35.84 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.004011, allocations: 35.91 kB / 0.7627 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.004193, allocations: 127.4 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004196, allocations: 0.6562 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004196, allocations: 1.125 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004199, allocations: 0 / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0003988/0.004598, allocations: 349.2 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.00463, allocations: 8.031 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.004732, allocations: 28.91 kB / 0.7632 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.004877, allocations: 162.7 kB / 0.7633 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.004899, allocations: 16.38 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.004931, allocations: 12.38 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.005094, allocations: 125.5 kB / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.005102, allocations: 4.188 kB / 0.7635 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.005112, allocations: 5.125 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.005119, allocations: 4.375 kB / 0.7635 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.005172, allocations: 41.03 kB / 0.7635 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.005527, allocations: 296.3 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.005634, allocations: 67.72 kB / 0.7639 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.005661, allocations: 24.84 kB / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.005678, allocations: 5.219 kB / 0.7639 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.005696, allocations: 30.56 kB / 0.7639 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.005698, allocations: 3.938 kB / 0.7639 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001386/0.005836, allocations: 86.28 kB / 0.764 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.005866, allocations: 60.16 kB / 0.7641 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.005951, allocations: 152.6 kB / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.005963, allocations: 30.45 kB / 0.7642 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.006017, allocations: 120.4 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.006046, allocations: 33.86 kB / 0.7644 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.006107, allocations: 41.67 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.006204, allocations: 326.8 kB / 0.7647 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.574e-05/0.006239, allocations: 8 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.006281, allocations: 47.3 kB / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.006341, allocations: 56.73 kB / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.006343, allocations: 1.719 kB / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.77e-05/0.006441, allocations: 89.53 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.006452, allocations: 11.19 kB / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.006456, allocations: 0 / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.006469, allocations: 4 kB / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.006551, allocations: 19.98 kB / 0.765 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.006555, allocations: 3.938 kB / 0.765 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.006595, allocations: 23.88 kB / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.0066, allocations: 0 / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.367e-05/0.006664, allocations: 120.8 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.006685, allocations: 11.92 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.006708, allocations: 16.78 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.00671, allocations: 0 / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006712, allocations: 3.938 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006716, allocations: 4 kB / 0.7651 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.006838, allocations: 109.8 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.00684, allocations: 3.984 kB / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.006885, allocations: 25.42 kB / 0.7653 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.006887, allocations: 0 / 0.7653 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.006895, allocations: 7.984 kB / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.666e-06/0.006898, allocations: 7.938 kB / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.006899, allocations: 0.6562 kB / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.007004, allocations: 156.7 kB / 0.7654 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.007019, allocations: 23.88 kB / 0.7655 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.00703, allocations: 4.656 kB / 0.7655 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.00707, allocations: 8.875 kB / 0.7655 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.007111, allocations: 15.97 kB / 0.7655 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.007115, allocations: 4 kB / 0.7655 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.366e-05/0.007139, allocations: 37.14 kB / 0.7655 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007139, allocations: 0 / 0.7655 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001374/0.007276, allocations: 23.95 kB / 0.7655 GB, free: 0.8047 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 7.712e-05/0.007354, allocations: 89.89 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.666e-05/0.00744, allocations: 71.88 kB / 0.7657 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.007443, allocations: 0 / 0.7657 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.007478, allocations: 32.78 kB / 0.7657 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.007621, allocations: 23.98 kB / 0.7657 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.008088, allocations: 259.8 kB / 0.766 GB, free: 312 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.008127, allocations: 68.53 kB / 0.7661 GB, free: 224 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.437e-05/0.008181, allocations: 19.17 kB / 0.7661 GB, free: 208 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.008251, allocations: 75.36 kB / 0.7662 GB, free: 132 kB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/0.008252, allocations: 0 / 0.7662 GB, free: 132 kB / 0.7136 GB Notification: Performance of Templates: time 0.003028/0.01128, allocations: 1.287 MB / 0.7674 GB, free: 14.95 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.0897924969904125]