Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.001351/0.001351, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001508/0.001508, allocations: 161.4 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.9207/0.9207, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.917/1.917, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.051e-06, allocations: 3.984 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.444e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003461/0.003496, allocations: 1.411 MB / 0.813 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.005367, allocations: 1.148 MB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.005579, allocations: 5.062 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.005685, allocations: 35.53 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.005898, allocations: 48.12 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.006408, allocations: 128.9 kB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004037/0.006812, allocations: 348.6 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.007068, allocations: 146.5 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.007382, allocations: 208.4 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.007491, allocations: 107.7 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.007535, allocations: 37.22 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.007601, allocations: 47.94 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.007651, allocations: 83.67 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/0.007721, allocations: 97.19 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.00801, allocations: 254.9 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.008014, allocations: 0 / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.663e-06/0.008016, allocations: 0 / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.008022, allocations: 1.531 kB / 0.8156 GB, free: 13.62 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0006259/0.008647, allocations: 0.6054 MB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.008686, allocations: 16.02 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.008842, allocations: 69.45 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.009177, allocations: 259.6 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.009209, allocations: 30.66 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.009242, allocations: 32.38 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.009562, allocations: 231.8 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.009577, allocations: 2.062 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.009599, allocations: 20.31 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.009611, allocations: 8.375 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.009802, allocations: 125.8 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.01061, allocations: 0.702 MB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.01088, allocations: 185.6 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.01097, allocations: 68.69 kB / 0.8178 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.011, allocations: 5.578 kB / 0.8178 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.01102, allocations: 33.62 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/0.01102, allocations: 0 / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.000326/0.01135, allocations: 209.6 kB / 0.8181 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.01138, allocations: 55.41 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.01153, allocations: 267.3 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.01155, allocations: 27.67 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.01165, allocations: 235.2 kB / 0.8186 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.01169, allocations: 79.34 kB / 0.8187 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.01177, allocations: 75.56 kB / 0.8188 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.01189, allocations: 0.504 MB / 0.8193 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.01196, allocations: 41.06 kB / 0.8193 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.01206, allocations: 126.5 kB / 0.8194 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.01222, allocations: 165.4 kB / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01223, allocations: 0 / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002393/0.01247, allocations: 215 kB / 0.8198 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01248, allocations: 4 kB / 0.8198 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01249, allocations: 1.344 kB / 0.8198 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.0125, allocations: 4 kB / 0.8198 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.01265, allocations: 51.91 kB / 0.8198 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.01266, allocations: 4.969 kB / 0.8199 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.98e-05/0.01272, allocations: 27.77 kB / 0.8199 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.01274, allocations: 19.92 kB / 0.8199 GB, free: 8.926 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.908e-05/0.01284, allocations: 182.8 kB / 0.8201 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.01287, allocations: 27.86 kB / 0.8201 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.01311, allocations: 187.9 kB / 0.8203 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01312, allocations: 4 kB / 0.8203 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01312, allocations: 0 / 0.8203 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01313, allocations: 3.984 kB / 0.8203 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.01334, allocations: 256.3 kB / 0.8205 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01334, allocations: 0 / 0.8205 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.01343, allocations: 35.92 kB / 0.8206 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01343, allocations: 0 / 0.8206 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.01345, allocations: 4 kB / 0.8206 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.01345, allocations: 8.75 kB / 0.8206 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01345, allocations: 0 / 0.8206 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.01369, allocations: 320.2 kB / 0.8209 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.01371, allocations: 20.33 kB / 0.8209 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.01373, allocations: 8.5 kB / 0.8209 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.01378, allocations: 13.45 kB / 0.8209 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.01385, allocations: 27.89 kB / 0.8209 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.01386, allocations: 8 kB / 0.821 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.643e-05/0.01393, allocations: 169.4 kB / 0.8211 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01393, allocations: 0.5312 kB / 0.8211 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002121/0.01414, allocations: 63.73 kB / 0.8212 GB, free: 7.551 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: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001097/0.01425, allocations: 111.6 kB / 0.8213 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.01448, allocations: 153.3 kB / 0.8214 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01448, allocations: 0 / 0.8214 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.01457, allocations: 88.44 kB / 0.8215 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.0148, allocations: 35.86 kB / 0.8215 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007709/0.01557, allocations: 456.1 kB / 0.822 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.406e-05/0.01563, allocations: 88.31 kB / 0.8221 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.493e-05/0.01571, allocations: 34.84 kB / 0.8221 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.01577, allocations: 24.5 kB / 0.8221 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of SimCode: time 8.01e-07/0.01577, allocations: 0 / 0.8221 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of Templates: time 0.00417/0.01994, allocations: 1.85 MB / 0.8239 GB, free: 4.754 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_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.260442691855133]