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.001452/0.001452, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001098/0.001098, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9347/0.9347, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.842/1.842, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.695e-06/2.695e-06, allocations: 0 / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/3.046e-05, allocations: 5.672 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002051/0.002082, allocations: 1.137 MB / 0.8127 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003151, allocations: 1.07 MB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.003238, allocations: 4.656 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.645e-05/0.003294, allocations: 23.67 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.003425, allocations: 40.75 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.003685, allocations: 87.84 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.003875, allocations: 233.4 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.004052, allocations: 92.59 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.004325, allocations: 157.5 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.004422, allocations: 67.72 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.004453, allocations: 24 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.358e-05/0.004506, allocations: 20 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.004536, allocations: 47.83 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.004586, allocations: 64.98 kB / 0.8146 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.004804, allocations: 151.3 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.004808, allocations: 4 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004809, allocations: 1.375 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.004814, allocations: 0 / 0.8147 GB, free: 14.5 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.0005355/0.00535, allocations: 0.5041 MB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.005395, allocations: 9.594 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.005543, allocations: 48.78 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.00575, allocations: 210.5 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.005781, allocations: 12.88 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.005802, allocations: 21.72 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.006053, allocations: 169.3 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.006063, allocations: 0.7188 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.00608, allocations: 8.375 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.00609, allocations: 6.312 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.006214, allocations: 78.89 kB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.006795, allocations: 0.5183 MB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.006986, allocations: 115.9 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.007036, allocations: 39.67 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.007055, allocations: 7.891 kB / 0.8164 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.007076, allocations: 37.39 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=17): time 1.894e-06/0.007078, allocations: 0.5312 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17): time 0.0002613/0.007339, allocations: 138.2 kB / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.007371, allocations: 51.41 kB / 0.8166 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.007501, allocations: 234.8 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.007517, allocations: 31.3 kB / 0.8169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.007598, allocations: 195.2 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.007629, allocations: 39.64 kB / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.007691, allocations: 67.3 kB / 0.8172 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.007814, allocations: 0.4967 MB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.00786, allocations: 23.98 kB / 0.8177 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.007935, allocations: 91.31 kB / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.008045, allocations: 113.2 kB / 0.8179 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008048, allocations: 0 / 0.8179 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001715/0.008219, allocations: 139.2 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.008242, allocations: 10.19 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.008249, allocations: 1.531 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.00827, allocations: 7.938 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.008382, allocations: 39.91 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.008389, allocations: 5 kB / 0.8181 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.008436, allocations: 15.89 kB / 0.8181 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.008446, allocations: 8 kB / 0.8181 GB, free: 10.81 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.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.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 9.768e-05/0.008544, allocations: 179.1 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.008571, allocations: 19.91 kB / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.008601, allocations: 21.81 kB / 0.8183 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008604, allocations: 6.219 kB / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.008607, allocations: 0 / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.00861, allocations: 0 / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.008767, allocations: 188.5 kB / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008768, allocations: 0 / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.008824, allocations: 27.97 kB / 0.8185 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.008826, allocations: 0.5 kB / 0.8185 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.008836, allocations: 5.625 kB / 0.8185 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.008837, allocations: 0 / 0.8185 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008839, allocations: 7.938 kB / 0.8185 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.009022, allocations: 263.8 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.463e-05/0.009037, allocations: 20.33 kB / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.009052, allocations: 0 / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.009098, allocations: 9.344 kB / 0.8188 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.009163, allocations: 27.81 kB / 0.8188 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.009171, allocations: 7.984 kB / 0.8188 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.934e-05/0.00924, allocations: 161.2 kB / 0.819 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009241, allocations: 0 / 0.819 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001816/0.009422, allocations: 36.48 kB / 0.819 GB, free: 9.793 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 0.000104/0.009526, allocations: 114.4 kB / 0.8191 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.009703, allocations: 92.64 kB / 0.8192 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.009704, allocations: 0 / 0.8192 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/0.009767, allocations: 59.59 kB / 0.8193 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.009988, allocations: 27.92 kB / 0.8193 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.01063, allocations: 337 kB / 0.8196 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.01068, allocations: 75.98 kB / 0.8197 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.692e-05/0.01074, allocations: 26.66 kB / 0.8197 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.0108, allocations: 34.45 kB / 0.8198 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of SimCode: time 7.72e-07/0.0108, allocations: 0 / 0.8198 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of Templates: time 0.003691/0.01449, allocations: 1.552 MB / 0.8213 GB, free: 7.516 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.959603103343397]