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.0009786/0.0009786, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.001712/0.001712, allocations: 161.4 kB / 24.17 MB, free: 332 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.9683/0.9683, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.979/1.979, allocations: 377.9 MB / 0.624 GB, free: 8.363 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 2.665e-06/2.665e-06, allocations: 0 / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.926e-05, allocations: 13.27 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002026/0.002055, allocations: 1.109 MB / 0.7611 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003158, allocations: 1.088 MB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.003242, allocations: 4.766 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.248e-05/0.003295, allocations: 25.02 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.003413, allocations: 38.19 kB / 0.7623 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.003635, allocations: 89.81 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.003805, allocations: 232.2 kB / 0.7626 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.003959, allocations: 96.17 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.004197, allocations: 160.1 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.00428, allocations: 63.73 kB / 0.7629 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.004304, allocations: 20.59 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-05/0.004347, allocations: 20.94 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.004378, allocations: 51.83 kB / 0.763 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.00442, allocations: 63.81 kB / 0.763 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.004597, allocations: 159.8 kB / 0.7632 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.0046, allocations: 2.062 kB / 0.7632 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004601, allocations: 0 / 0.7632 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.004605, allocations: 0 / 0.7632 GB, free: 3.422 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.0004249/0.00503, allocations: 392.5 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.005065, allocations: 8.031 kB / 0.7636 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.005181, allocations: 42.38 kB / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.005351, allocations: 178.4 kB / 0.7638 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.005375, allocations: 16.88 kB / 0.7638 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.005395, allocations: 21.62 kB / 0.7638 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.00558, allocations: 161.3 kB / 0.764 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005588, allocations: 192 / 0.764 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.0056, allocations: 9.312 kB / 0.764 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005607, allocations: 4.375 kB / 0.764 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.837e-05/0.005675, allocations: 56.44 kB / 0.764 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.006093, allocations: 376.6 kB / 0.7644 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.006231, allocations: 100.2 kB / 0.7645 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.006261, allocations: 24.84 kB / 0.7645 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.006277, allocations: 4 kB / 0.7645 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.006298, allocations: 34.56 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.0063, allocations: 1.062 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0001587/0.006458, allocations: 103.1 kB / 0.7646 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.006489, allocations: 56.33 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006592, allocations: 178.5 kB / 0.7649 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.006605, allocations: 25.7 kB / 0.7649 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.006658, allocations: 141.3 kB / 0.765 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.006686, allocations: 51.5 kB / 0.7651 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.006735, allocations: 58.41 kB / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.006816, allocations: 330.7 kB / 0.7654 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.006844, allocations: 20.73 kB / 0.7655 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.006889, allocations: 58.62 kB / 0.7655 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.758e-05/0.006967, allocations: 93.53 kB / 0.7656 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.006969, allocations: 0 / 0.7656 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001107/0.00708, allocations: 109.5 kB / 0.7657 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.007091, allocations: 8 kB / 0.7657 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007096, allocations: 0 / 0.7657 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.007109, allocations: 4 kB / 0.7657 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.007203, allocations: 31.92 kB / 0.7658 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.007209, allocations: 7.938 kB / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.085e-05/0.00725, allocations: 19.88 kB / 0.7658 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.007258, allocations: 6.531 kB / 0.7658 GB, free: 0.582 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.403e-05/0.007332, allocations: 122.4 kB / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.007354, allocations: 15.98 kB / 0.7659 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.007383, allocations: 21.81 kB / 0.7659 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.007385, allocations: 4 kB / 0.7659 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.007388, allocations: 4.719 kB / 0.7659 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.007392, allocations: 3.984 kB / 0.7659 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.007516, allocations: 127 kB / 0.7661 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.007517, allocations: 0 / 0.7661 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.007564, allocations: 19.92 kB / 0.7661 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.007566, allocations: 0.7812 kB / 0.7661 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.007574, allocations: 15.92 kB / 0.7661 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007575, allocations: 2.375 kB / 0.7661 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.007576, allocations: 0 / 0.7661 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.0077, allocations: 189.5 kB / 0.7663 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.007713, allocations: 15.84 kB / 0.7663 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.007726, allocations: 8 kB / 0.7663 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.007787, allocations: 11.98 kB / 0.7663 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.007833, allocations: 18.72 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.007839, allocations: 4 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.007869, allocations: 42.81 kB / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007869, allocations: 3.938 kB / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001468/0.008016, allocations: 39.83 kB / 0.7664 GB, free: 15.88 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 0.0001019/0.008118, allocations: 89.7 kB / 0.7665 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.008229, allocations: 81.86 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.008232, allocations: 0 / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.312e-05/0.008275, allocations: 48.12 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.008428, allocations: 27.66 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.008951, allocations: 334.2 kB / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.008992, allocations: 73.14 kB / 0.7671 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.2e-05/0.009064, allocations: 26.38 kB / 0.7671 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.009142, allocations: 79.94 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.009143, allocations: 0 / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.003567/0.01271, allocations: 1.545 MB / 0.7687 GB, free: 13.68 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 -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.1125204879790545]