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.001003/0.001003, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001136/0.001136, allocations: 161.2 kB / 24.87 MB, free: 8.867 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.9531/0.9531, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.923/1.923, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] 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.425e-06/2.425e-06, allocations: 0 / 0.8128 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.061e-05, allocations: 2.875 kB / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00287/0.002901, allocations: 1.108 MB / 0.8139 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.004434, allocations: 1.066 MB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.004556, allocations: 5.25 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.587e-05/0.004632, allocations: 23.67 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.004793, allocations: 45.16 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.005108, allocations: 83.84 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.005349, allocations: 232.1 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.005572, allocations: 92.59 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.00592, allocations: 152.7 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.006041, allocations: 63.78 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.006078, allocations: 24.62 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.296e-05/0.006141, allocations: 23.94 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.006184, allocations: 49.23 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.006245, allocations: 63.83 kB / 0.8158 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.00652, allocations: 159.2 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.006524, allocations: 0.6875 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.006525, allocations: 0 / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.00653, allocations: 0.9062 kB / 0.8159 GB, free: 14.23 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.0006141/0.007145, allocations: 0.5079 MB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.00719, allocations: 8.688 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.007537, allocations: 49.75 kB / 0.8165 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.007782, allocations: 196.2 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.007816, allocations: 17.62 kB / 0.8167 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.007844, allocations: 24.31 kB / 0.8167 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.008123, allocations: 150.2 kB / 0.8168 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.008136, allocations: 4.188 kB / 0.8168 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.008158, allocations: 13.62 kB / 0.8168 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.008169, allocations: 4.375 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.00829, allocations: 63.33 kB / 0.8169 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.008996, allocations: 0.4934 MB / 0.8174 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.009196, allocations: 103.1 kB / 0.8175 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.009252, allocations: 32.7 kB / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.009272, allocations: 7.906 kB / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.009299, allocations: 37.38 kB / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=17): time 2.444e-06/0.009302, allocations: 1.719 kB / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17): time 0.0002635/0.009565, allocations: 117.6 kB / 0.8177 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.009596, allocations: 59.39 kB / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.009756, allocations: 230.3 kB / 0.818 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.00978, allocations: 31.23 kB / 0.818 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.00988, allocations: 195.1 kB / 0.8182 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.009921, allocations: 43.64 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.01001, allocations: 67.2 kB / 0.8183 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.01018, allocations: 0.5009 MB / 0.8188 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.01022, allocations: 15.98 kB / 0.8188 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-05/0.01031, allocations: 85.39 kB / 0.8189 GB, free: 11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.01044, allocations: 105.2 kB / 0.819 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01044, allocations: 0 / 0.819 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000217/0.01066, allocations: 135 kB / 0.8191 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.01068, allocations: 6.562 kB / 0.8191 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.01069, allocations: 4 kB / 0.8191 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.0107, allocations: 1.312 kB / 0.8191 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.01085, allocations: 39.86 kB / 0.8191 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01086, allocations: 0 / 0.8191 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.01094, allocations: 21 kB / 0.8192 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.01095, allocations: 8 kB / 0.8192 GB, free: 10.66 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 0.000125/0.01107, allocations: 174.4 kB / 0.8193 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.01112, allocations: 19.91 kB / 0.8194 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.01116, allocations: 26.61 kB / 0.8194 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01117, allocations: 4 kB / 0.8194 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.01117, allocations: 4.875 kB / 0.8194 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01118, allocations: 0 / 0.8194 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.0114, allocations: 153.1 kB / 0.8195 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.0114, allocations: 1.344 kB / 0.8195 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.0115, allocations: 31.91 kB / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.0115, allocations: 0 / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.01151, allocations: 0.7812 kB / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01151, allocations: 4 kB / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01151, allocations: 1.938 kB / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.01176, allocations: 259.8 kB / 0.8198 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.01178, allocations: 19.83 kB / 0.8198 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.0118, allocations: 8 kB / 0.8198 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.01188, allocations: 7.938 kB / 0.8199 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.01195, allocations: 24.64 kB / 0.8199 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.01197, allocations: 11.98 kB / 0.8199 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.739e-05/0.01205, allocations: 160 kB / 0.82 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01205, allocations: 0 / 0.82 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003178/0.01236, allocations: 43.83 kB / 0.8201 GB, free: 9.68 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.000137/0.0125, allocations: 105.7 kB / 0.8202 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.0127, allocations: 85.3 kB / 0.8203 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0127, allocations: 0.5 kB / 0.8203 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.01278, allocations: 59.48 kB / 0.8203 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.01312, allocations: 27.92 kB / 0.8203 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/0.01392, allocations: 328.5 kB / 0.8207 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.01398, allocations: 75.98 kB / 0.8207 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.01409, allocations: 22.73 kB / 0.8208 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.01421, allocations: 99.12 kB / 0.8209 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.01421, allocations: 0 / 0.8209 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.004434/0.01865, allocations: 1.652 MB / 0.8225 GB, free: 7.27 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: 5.180356091819704]