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.001423/0.001423, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001795/0.001795, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.914/1.914, allocations: 377.9 MB / 0.6239 GB, free: 8.43 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 4.228e-06/4.228e-06, allocations: 7.984 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.661e-05, allocations: 2.312 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001678/0.001705, allocations: 0.9978 MB / 0.813 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.002718, allocations: 1.028 MB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.002799, allocations: 4 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.002841, allocations: 11.81 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.002951, allocations: 33.02 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.003164, allocations: 71.8 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.003298, allocations: 161.7 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.003432, allocations: 60.73 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.003648, allocations: 119.6 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.003716, allocations: 45.78 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.003739, allocations: 16 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-05/0.003786, allocations: 16 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.003816, allocations: 39.83 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.003851, allocations: 31.92 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.004005, allocations: 120.1 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004007, allocations: 0 / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004007, allocations: 0.5312 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.004011, allocations: 0 / 0.8147 GB, free: 14.67 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.0004011/0.004412, allocations: 476.6 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.004448, allocations: 12.56 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.812e-05/0.004546, allocations: 34.2 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.004691, allocations: 176.2 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.00471, allocations: 8.375 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.004725, allocations: 16.91 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.004911, allocations: 121.7 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.00492, allocations: 192 / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.00493, allocations: 4.375 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.004936, allocations: 5.531 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.001e-05/0.004996, allocations: 48.34 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.005384, allocations: 405.2 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.005491, allocations: 71.12 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.005518, allocations: 29.05 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.005536, allocations: 3.984 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.005556, allocations: 37.39 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.005558, allocations: 0.625 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0001633/0.005721, allocations: 110.2 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.00575, allocations: 51.41 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.005847, allocations: 208.8 kB / 0.8165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.005859, allocations: 25.7 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.005919, allocations: 171.1 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.005944, allocations: 35.67 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.005987, allocations: 52.17 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.006093, allocations: 0.4923 MB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.006115, allocations: 13.27 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.006155, allocations: 53.11 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.00622, allocations: 80.23 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006222, allocations: 1.812 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001005/0.006323, allocations: 101.5 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.006335, allocations: 11.94 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.00634, allocations: 2.531 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.006352, allocations: 4 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.006428, allocations: 23.98 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.006431, allocations: 0 / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.006464, allocations: 15.92 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.00647, allocations: 0 / 0.8175 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.71e-05/0.006547, allocations: 176.2 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.00657, allocations: 29.7 kB / 0.8177 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.006595, allocations: 16.78 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.006599, allocations: 3.984 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.006601, allocations: 4 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.006604, allocations: 0 / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.006724, allocations: 137.1 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006725, allocations: 0.9062 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.006765, allocations: 15.98 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.006767, allocations: 0.6562 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.006774, allocations: 8 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006776, allocations: 4.594 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.006778, allocations: 7.031 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.006913, allocations: 235.8 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-06/0.006922, allocations: 7.953 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.006933, allocations: 7.938 kB / 0.8181 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.006975, allocations: 11.92 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.007018, allocations: 15.97 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.007022, allocations: 4 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.00707, allocations: 143.2 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.00707, allocations: 2.438 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001511/0.007221, allocations: 31.89 kB / 0.8183 GB, free: 10.72 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.546e-05/0.007297, allocations: 107.2 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.488e-05/0.007392, allocations: 60.56 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.007393, allocations: 0 / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.007429, allocations: 36.77 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.007604, allocations: 23.69 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.008036, allocations: 277.8 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/0.008074, allocations: 68.84 kB / 0.8189 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.063e-05/0.008124, allocations: 17.48 kB / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.008197, allocations: 94.19 kB / 0.819 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.008198, allocations: 1.344 kB / 0.819 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of Templates: time 0.002967/0.01117, allocations: 1.368 MB / 0.8203 GB, free: 8.695 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.198496122844517]