Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.001029/0.001029, allocations: 80.3 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.001782/0.001782, allocations: 169.2 kB / 24.86 MB, free: 9.277 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.9611/0.9611, 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.956/1.956, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.495e-05, allocations: 6.312 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001479/0.001494, allocations: 0.998 MB / 0.8138 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009107/0.002405, allocations: 1.023 MB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.00247, allocations: 4 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.002508, allocations: 20.98 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.31e-05/0.002601, allocations: 31.72 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.002784, allocations: 69.84 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.002919, allocations: 168.1 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.003046, allocations: 60.73 kB / 0.8151 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.003256, allocations: 115.7 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.003319, allocations: 44.38 kB / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.00334, allocations: 16.84 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.839e-05/0.003379, allocations: 16 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.003403, allocations: 35.89 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.003435, allocations: 44.84 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.003578, allocations: 111.5 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003579, allocations: 0.5625 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.2e-07/0.00358, allocations: 0 / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003583, allocations: 1.281 kB / 0.8155 GB, free: 14.68 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.0003667/0.00395, allocations: 475.8 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.003978, allocations: 8.625 kB / 0.816 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.557e-05/0.004074, allocations: 42.08 kB / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.004208, allocations: 178.5 kB / 0.8162 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.004225, allocations: 8.375 kB / 0.8162 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.004239, allocations: 16.38 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.004377, allocations: 118.8 kB / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.004383, allocations: 192 / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.004393, allocations: 4.375 kB / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.004398, allocations: 4.375 kB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.976e-05/0.004457, allocations: 52.28 kB / 0.8164 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.004804, allocations: 397.2 kB / 0.8167 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.00491, allocations: 88.34 kB / 0.8168 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.004936, allocations: 19.69 kB / 0.8168 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.004947, allocations: 0 / 0.8168 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.004965, allocations: 46.86 kB / 0.8169 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 8.11e-07/0.004966, allocations: 0 / 0.8169 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0001448/0.005111, allocations: 101.5 kB / 0.817 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.005135, allocations: 61.28 kB / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/0.00522, allocations: 207.5 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.005232, allocations: 29.7 kB / 0.8173 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.005289, allocations: 171.1 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.00531, allocations: 39.67 kB / 0.8175 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.005352, allocations: 44.69 kB / 0.8175 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.00546, allocations: 0.4923 MB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.005483, allocations: 15.98 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.005522, allocations: 51.98 kB / 0.8181 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.005588, allocations: 71.19 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.00559, allocations: 0.5312 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001052/0.005695, allocations: 106.3 kB / 0.8182 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.005712, allocations: 12.75 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.005715, allocations: 0 / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/0.005722, allocations: 0.5312 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.005796, allocations: 29.3 kB / 0.8183 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.005798, allocations: 0 / 0.8183 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.005832, allocations: 7.938 kB / 0.8183 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.00584, allocations: 13.14 kB / 0.8183 GB, free: 11.61 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.1e-05/0.005911, allocations: 167 kB / 0.8184 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.005937, allocations: 20.59 kB / 0.8185 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.005957, allocations: 16.78 kB / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.005959, allocations: 0.625 kB / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.00596, allocations: 0 / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.005964, allocations: 4.891 kB / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.006075, allocations: 141.1 kB / 0.8186 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.006076, allocations: 0.8438 kB / 0.8186 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.006115, allocations: 15.98 kB / 0.8186 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.006116, allocations: 1.281 kB / 0.8186 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.006122, allocations: 7.984 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.006125, allocations: 7.938 kB / 0.8187 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006127, allocations: 4.656 kB / 0.8187 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.00625, allocations: 240.2 kB / 0.8189 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-06/0.006258, allocations: 8.797 kB / 0.8189 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.006268, allocations: 0 / 0.8189 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.00631, allocations: 9.531 kB / 0.8189 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.006352, allocations: 19.97 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.006356, allocations: 0 / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.006399, allocations: 147.1 kB / 0.8191 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006399, allocations: 0.9688 kB / 0.8191 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001567/0.006556, allocations: 27.89 kB / 0.8191 GB, free: 10.74 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.107e-05/0.006627, allocations: 110.6 kB / 0.8192 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.006732, allocations: 67.56 kB / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.12e-07/0.006733, allocations: 0 / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.006773, allocations: 39.59 kB / 0.8193 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.006953, allocations: 32.41 kB / 0.8193 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.007428, allocations: 265.2 kB / 0.8196 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.094e-05/0.007479, allocations: 71.78 kB / 0.8197 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.475e-05/0.007544, allocations: 19.14 kB / 0.8197 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.007619, allocations: 90.19 kB / 0.8198 GB, free: 10 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.00762, allocations: 0 / 0.8198 GB, free: 10 MB / 0.7761 GB Notification: Performance of Templates: time 0.002916/0.01054, allocations: 1.41 MB / 0.8211 GB, free: 8.672 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.00609348108992]