Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.0009849/0.0009849, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001039/0.001039, allocations: 168.1 kB / 24.87 MB, free: 8.891 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 1.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.484 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 2.026/2.026, allocations: 377.9 MB / 0.6247 GB, free: 8.348 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.SeriesFanVVF.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",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.8128 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.714e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001568/0.001586, allocations: 0.9934 MB / 0.8138 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002621, allocations: 1.029 MB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-05/0.002711, allocations: 4 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.002752, allocations: 15.8 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.002858, allocations: 23.73 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.003079, allocations: 72.45 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.003217, allocations: 164.1 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.003357, allocations: 57.58 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.00357, allocations: 116.8 kB / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.00364, allocations: 51.81 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.003659, allocations: 12 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.887e-05/0.003708, allocations: 20.73 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.003733, allocations: 31.91 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.003766, allocations: 44.75 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.003921, allocations: 111.5 kB / 0.8155 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.644e-06/0.003922, allocations: 0.6562 kB / 0.8155 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003923, allocations: 0 / 0.8155 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003927, allocations: 4.5 kB / 0.8155 GB, free: 14.65 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0003946/0.004321, allocations: 480.3 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.004351, allocations: 9.281 kB / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.004454, allocations: 36.83 kB / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.004605, allocations: 170.5 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.004628, allocations: 14.69 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.004649, allocations: 16.38 kB / 0.8162 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.004808, allocations: 120.3 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.004817, allocations: 192 / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.004829, allocations: 8.375 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.004835, allocations: 5.031 kB / 0.8163 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.93e-05/0.004894, allocations: 40.95 kB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.00527, allocations: 401.2 kB / 0.8167 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.005389, allocations: 79.05 kB / 0.8168 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.005418, allocations: 29.27 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.005433, allocations: 4 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.005453, allocations: 33.39 kB / 0.8169 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 9.91e-07/0.005454, allocations: 3.938 kB / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0001682/0.005622, allocations: 106.6 kB / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.00565, allocations: 51.41 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.005745, allocations: 216 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.005755, allocations: 25.7 kB / 0.8173 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.005817, allocations: 180.3 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.005841, allocations: 35.69 kB / 0.8175 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.005883, allocations: 39.34 kB / 0.8175 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.005992, allocations: 0.4975 MB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.006014, allocations: 11.98 kB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.006053, allocations: 50.73 kB / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.857e-05/0.006121, allocations: 76.97 kB / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.006124, allocations: 4 kB / 0.8181 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001085/0.006233, allocations: 106.7 kB / 0.8182 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.006244, allocations: 7.938 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006249, allocations: 5.375 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.006258, allocations: 0 / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.006338, allocations: 23.98 kB / 0.8183 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.006343, allocations: 5.188 kB / 0.8183 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.006379, allocations: 11.92 kB / 0.8183 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.006386, allocations: 4 kB / 0.8183 GB, free: 11.58 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.747e-05/0.006464, allocations: 172.3 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.006489, allocations: 19.84 kB / 0.8185 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.006515, allocations: 17.67 kB / 0.8185 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006516, allocations: 4 kB / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.006518, allocations: 0 / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.006521, allocations: 0.8438 kB / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.006647, allocations: 141.1 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006648, allocations: 5.281 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.006693, allocations: 19.98 kB / 0.8186 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.006694, allocations: 0 / 0.8186 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.0067, allocations: 0.5625 kB / 0.8186 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006702, allocations: 3.938 kB / 0.8187 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006703, allocations: 0.7812 kB / 0.8187 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.006842, allocations: 241.4 kB / 0.8189 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.006851, allocations: 7.953 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.006863, allocations: 4 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.006906, allocations: 11.92 kB / 0.8189 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.00695, allocations: 20.84 kB / 0.8189 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.006955, allocations: 4 kB / 0.8189 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.006999, allocations: 139.2 kB / 0.8191 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006999, allocations: 3.469 kB / 0.8191 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001588/0.007158, allocations: 31.89 kB / 0.8191 GB, free: 10.7 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: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 7.48e-05/0.007233, allocations: 107.2 kB / 0.8192 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.007335, allocations: 67.52 kB / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 0.0002738/0.007608, allocations: 4 kB / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.007648, allocations: 36.11 kB / 0.8193 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.00783, allocations: 25.83 kB / 0.8193 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.008255, allocations: 268.6 kB / 0.8196 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.008293, allocations: 71.83 kB / 0.8196 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.031e-05/0.008343, allocations: 15.16 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.008415, allocations: 94.19 kB / 0.8198 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.008416, allocations: 0 / 0.8198 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of Templates: time 0.002958/0.01137, allocations: 1.415 MB / 0.8211 GB, free: 8.637 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.317532490007579]