Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.000977/0.000977, 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.0009988/0.0009988, 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 0.9996/0.9996, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.984/1.984, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.592e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00176/0.001776, allocations: 1.151 MB / 0.7612 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.00286, allocations: 1.084 MB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.002936, allocations: 0.9688 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.01e-05/0.002986, allocations: 27.66 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.003106, allocations: 35.86 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.003304, allocations: 88.66 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.003474, allocations: 232 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.003633, allocations: 104.3 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.003891, allocations: 163.5 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.003972, allocations: 57.02 kB / 0.763 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.003997, allocations: 24 kB / 0.763 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.174e-05/0.004059, allocations: 24 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.004088, allocations: 53.59 kB / 0.7631 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.004127, allocations: 55.84 kB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.00431, allocations: 155.3 kB / 0.7633 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004312, allocations: 0 / 0.7633 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004312, allocations: 0 / 0.7633 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004316, allocations: 0.75 kB / 0.7633 GB, free: 3.352 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004092/0.004725, allocations: 401.1 kB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.004757, allocations: 8.031 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.004868, allocations: 43.03 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.005042, allocations: 182.4 kB / 0.7639 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.005064, allocations: 12.88 kB / 0.7639 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.005082, allocations: 24.38 kB / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.005259, allocations: 150.7 kB / 0.764 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.005268, allocations: 192 / 0.764 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.005282, allocations: 16.36 kB / 0.7641 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.005289, allocations: 4.375 kB / 0.7641 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.005359, allocations: 56.66 kB / 0.7641 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.005777, allocations: 368 kB / 0.7645 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.00591, allocations: 106 kB / 0.7646 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.005938, allocations: 20.86 kB / 0.7646 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.005955, allocations: 8.734 kB / 0.7646 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.005975, allocations: 34.56 kB / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.005976, allocations: 0.5312 kB / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0001565/0.006133, allocations: 110.5 kB / 0.7647 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.006158, allocations: 51.41 kB / 0.7648 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.006254, allocations: 178.5 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.006266, allocations: 29.7 kB / 0.765 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.006326, allocations: 144.4 kB / 0.7651 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.006356, allocations: 51.56 kB / 0.7652 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.006403, allocations: 45.67 kB / 0.7652 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.006484, allocations: 334.7 kB / 0.7655 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.006506, allocations: 19.03 kB / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.006554, allocations: 59 kB / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.093e-05/0.006635, allocations: 95.06 kB / 0.7657 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.006638, allocations: 5.484 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001195/0.006758, allocations: 106.2 kB / 0.7658 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.006772, allocations: 11.98 kB / 0.7658 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.006776, allocations: 0.6562 kB / 0.7658 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.00679, allocations: 5 kB / 0.7658 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.006885, allocations: 27.98 kB / 0.7658 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.00689, allocations: 7.875 kB / 0.7658 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.006934, allocations: 30.44 kB / 0.7659 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.006942, allocations: 4 kB / 0.7659 GB, free: 0.4961 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (22): * Single equations (assignments): 22 * 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.028e-05/0.007013, allocations: 122.4 kB / 0.766 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.007036, allocations: 11.98 kB / 0.766 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.007064, allocations: 24.94 kB / 0.766 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007066, allocations: 0 / 0.766 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.007068, allocations: 7.875 kB / 0.766 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007071, allocations: 0 / 0.766 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.007195, allocations: 133.8 kB / 0.7662 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007196, allocations: 0 / 0.7662 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.007244, allocations: 27.92 kB / 0.7662 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.007247, allocations: 3.984 kB / 0.7662 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.007254, allocations: 5.656 kB / 0.7662 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007255, allocations: 3.984 kB / 0.7662 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007256, allocations: 0 / 0.7662 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.007686, allocations: 188.9 kB / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.007699, allocations: 17.25 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.007712, allocations: 4 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.85e-05/0.007761, allocations: 11.92 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.007808, allocations: 15.97 kB / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.007815, allocations: 5.281 kB / 0.7664 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.007845, allocations: 42.8 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007845, allocations: 4 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001475/0.007993, allocations: 40.48 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.9e-05/0.008072, allocations: 89.77 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.008189, allocations: 83.8 kB / 0.7667 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.008192, allocations: 1.5 kB / 0.7667 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.008236, allocations: 44.77 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.008385, allocations: 21.42 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.008896, allocations: 339.1 kB / 0.7671 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.008936, allocations: 72.58 kB / 0.7671 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.746e-05/0.009004, allocations: 28.28 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.009085, allocations: 75.36 kB / 0.7672 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.009086, allocations: 0 / 0.7672 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of Templates: time 0.003348/0.01243, allocations: 1.537 MB / 0.7687 GB, free: 13.61 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.062274140771478]