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.001055/0.001055, allocations: 83.59 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.001108/0.001108, allocations: 165 kB / 23.82 MB, free: 0.75 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.9998/0.9998, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.921/1.921, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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.414e-06/2.414e-06, allocations: 0 / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.996e-05, allocations: 3.375 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002234/0.002264, allocations: 1.141 MB / 0.8127 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.003483, allocations: 1.074 MB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.003593, allocations: 5.594 kB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.225e-05/0.003655, allocations: 23.67 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.003792, allocations: 31.67 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.00409, allocations: 88.7 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.004291, allocations: 228.2 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.004523, allocations: 97.36 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.004815, allocations: 139.6 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.004924, allocations: 81.39 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.004958, allocations: 24 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.225e-05/0.00502, allocations: 31.98 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.005055, allocations: 47.83 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.005113, allocations: 69.36 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.005347, allocations: 163.3 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005349, allocations: 0 / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.123e-06/0.00535, allocations: 0 / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.005356, allocations: 0 / 0.8147 GB, free: 14.44 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.0005492/0.005905, allocations: 0.5174 MB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.005944, allocations: 11.97 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.006098, allocations: 44.78 kB / 0.8153 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.006401, allocations: 213.7 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.006428, allocations: 16.88 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.006455, allocations: 20.88 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.006705, allocations: 167.8 kB / 0.8157 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.006717, allocations: 192 / 0.8157 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.006735, allocations: 12.38 kB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.006747, allocations: 8.359 kB / 0.8157 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.006878, allocations: 82.81 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.007486, allocations: 0.515 MB / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.007678, allocations: 116.4 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.007731, allocations: 31.67 kB / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.007755, allocations: 13.47 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.007779, allocations: 37.39 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.007781, allocations: 0 / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17): time 0.0002624/0.008044, allocations: 134.2 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.008073, allocations: 55.41 kB / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.008507, allocations: 238.9 kB / 0.8169 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.008521, allocations: 26.39 kB / 0.8169 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.008602, allocations: 195.2 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.008635, allocations: 48.55 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.008697, allocations: 59.34 kB / 0.8172 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.008818, allocations: 0.5 MB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.008876, allocations: 29.3 kB / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-05/0.008949, allocations: 82 kB / 0.8178 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.009057, allocations: 109 kB / 0.8179 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.00906, allocations: 1.219 kB / 0.8179 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001732/0.009233, allocations: 147 kB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.009249, allocations: 10.2 kB / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009255, allocations: 0 / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.009278, allocations: 7.938 kB / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.009394, allocations: 27.92 kB / 0.8181 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.009402, allocations: 4 kB / 0.8181 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.00945, allocations: 19.89 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.009463, allocations: 15.05 kB / 0.8181 GB, free: 10.72 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 8.987e-05/0.009553, allocations: 169.1 kB / 0.8183 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.009583, allocations: 23.91 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.009618, allocations: 21.75 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.009622, allocations: 7.938 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.009626, allocations: 0 / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.009631, allocations: 5.297 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.009798, allocations: 196.5 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.009801, allocations: 3.984 kB / 0.8185 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.009855, allocations: 20.55 kB / 0.8185 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.009858, allocations: 0.5625 kB / 0.8186 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.009869, allocations: 8 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.00987, allocations: 0.7812 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.009872, allocations: 3.938 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.01006, allocations: 262.8 kB / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.01007, allocations: 19.84 kB / 0.8188 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.01009, allocations: 4 kB / 0.8188 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.714e-05/0.01014, allocations: 5.094 kB / 0.8188 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.0102, allocations: 31.8 kB / 0.8189 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.01021, allocations: 4.656 kB / 0.8189 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.325e-05/0.01027, allocations: 160.7 kB / 0.819 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01027, allocations: 0.7188 kB / 0.819 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001801/0.01045, allocations: 39.89 kB / 0.8191 GB, free: 9.699 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.0001028/0.01056, allocations: 111.8 kB / 0.8192 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.01073, allocations: 96.14 kB / 0.8193 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01073, allocations: 0 / 0.8193 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.138e-05/0.01079, allocations: 56.72 kB / 0.8193 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.01101, allocations: 31.92 kB / 0.8194 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/0.01168, allocations: 340.3 kB / 0.8197 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.802e-05/0.01173, allocations: 76.58 kB / 0.8197 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.102e-05/0.01179, allocations: 20.77 kB / 0.8198 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.01185, allocations: 24.48 kB / 0.8198 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.01185, allocations: 0 / 0.8198 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.003749/0.0156, allocations: 1.5 MB / 0.8213 GB, free: 7.484 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.303116580937058]