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.0009632/0.0009632, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001749/0.001749, allocations: 185 kB / 24.09 MB, free: 416 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.943/0.943, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.857/1.857, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.364e-06/2.364e-06, allocations: 0 / 0.812 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.591e-05, allocations: 2.312 kB / 0.812 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001894/0.00192, allocations: 1.11 MB / 0.8131 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.002985, allocations: 1.067 MB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.687e-05/0.003072, allocations: 4 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.796e-05/0.00312, allocations: 24.3 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.003231, allocations: 36.48 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.003464, allocations: 91.83 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.003633, allocations: 225.3 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.003792, allocations: 100.5 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.004062, allocations: 152.4 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.69e-05/0.004149, allocations: 59.8 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.004182, allocations: 20.94 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.016e-05/0.004242, allocations: 24 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.004277, allocations: 56.38 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.004322, allocations: 55.84 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.004531, allocations: 159.8 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.004534, allocations: 4.438 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004535, allocations: 0 / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004539, allocations: 1.25 kB / 0.8151 GB, free: 14.21 MB / 0.7761 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.0005122/0.005052, allocations: 0.5079 MB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.005094, allocations: 14.38 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.005226, allocations: 40.8 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.005429, allocations: 208.1 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.005457, allocations: 16.88 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.005477, allocations: 16.38 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.005696, allocations: 154 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.005705, allocations: 0.8125 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.005722, allocations: 16.31 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.00573, allocations: 5.688 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.005809, allocations: 63.33 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.006364, allocations: 0.4892 MB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.006515, allocations: 103.2 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.006551, allocations: 31.67 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.006573, allocations: 9.125 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.006594, allocations: 33.39 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.006596, allocations: 0 / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17): time 0.0002073/0.006803, allocations: 123.3 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.006835, allocations: 55.41 kB / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.006971, allocations: 234.2 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.00699, allocations: 29.7 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.007083, allocations: 192.4 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.007124, allocations: 51.56 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.007204, allocations: 59.27 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.007343, allocations: 0.5005 MB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.558e-05/0.007378, allocations: 20.52 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.00744, allocations: 81.98 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.843e-05/0.007529, allocations: 106.3 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.007531, allocations: 1.375 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001414/0.007672, allocations: 136.2 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.007683, allocations: 4 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.00769, allocations: 4 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.0077, allocations: 0.6875 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.007796, allocations: 40.55 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.007799, allocations: 0 / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.007845, allocations: 20.78 kB / 0.8184 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.007853, allocations: 8 kB / 0.8184 GB, free: 10.64 MB / 0.7761 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 8.401e-05/0.007937, allocations: 179.2 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.007963, allocations: 19.91 kB / 0.8186 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.007992, allocations: 17.81 kB / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007994, allocations: 4.594 kB / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.007997, allocations: 3.938 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008001, allocations: 4.797 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.008141, allocations: 157.1 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008143, allocations: 1.625 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.008193, allocations: 31.92 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.008194, allocations: 0 / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.008202, allocations: 3.984 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008204, allocations: 4.906 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008205, allocations: 0 / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.008365, allocations: 257.1 kB / 0.8191 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.008377, allocations: 15.84 kB / 0.8191 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.008388, allocations: 4 kB / 0.8191 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.008433, allocations: 7.984 kB / 0.8191 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.008481, allocations: 23.88 kB / 0.8191 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.008487, allocations: 8 kB / 0.8191 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.008541, allocations: 160.5 kB / 0.8193 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008541, allocations: 3.938 kB / 0.8193 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001706/0.008712, allocations: 35.89 kB / 0.8193 GB, free: 9.672 MB / 0.7761 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 8.317e-05/0.008795, allocations: 118 kB / 0.8194 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.00891, allocations: 84.66 kB / 0.8195 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.008912, allocations: 0 / 0.8195 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.914e-05/0.008961, allocations: 52.84 kB / 0.8196 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.00915, allocations: 24.59 kB / 0.8196 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.009664, allocations: 332.9 kB / 0.8199 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.262e-05/0.009707, allocations: 75.98 kB / 0.82 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.916e-05/0.009766, allocations: 19.73 kB / 0.82 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.009849, allocations: 102.2 kB / 0.8201 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.00985, allocations: 0 / 0.8201 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of Templates: time 0.003447/0.0133, allocations: 1.623 MB / 0.8217 GB, free: 7.293 MB / 0.7761 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: 4.93074050731957]