Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001196/0.001196, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009512/0.0009512, allocations: 169 kB / 24.06 MB, free: 456 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 0.9804/0.9804, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.2/2.2, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.326e-05, allocations: 7.25 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001985/0.002009, allocations: 1.365 MB / 0.8808 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.003216, allocations: 1.149 MB / 0.8819 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.003346, allocations: 4 kB / 0.8819 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.342e-05/0.003409, allocations: 35.53 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.003551, allocations: 48.48 kB / 0.882 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.003842, allocations: 133.3 kB / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000474/0.004316, allocations: 340.6 kB / 0.8824 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.00454, allocations: 154.5 kB / 0.8826 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.004879, allocations: 231.4 kB / 0.8828 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.00499, allocations: 89.84 kB / 0.8829 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.005026, allocations: 32 kB / 0.8829 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.005084, allocations: 39.98 kB / 0.8829 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.005133, allocations: 67.75 kB / 0.883 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.005199, allocations: 107.7 kB / 0.8831 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.005455, allocations: 225.3 kB / 0.8833 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005458, allocations: 0 / 0.8833 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.964e-06/0.00546, allocations: 4 kB / 0.8833 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.005466, allocations: 3.938 kB / 0.8833 GB, free: 2 MB / 0.8386 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.0005445/0.00601, allocations: 0.6054 MB / 0.8839 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.006044, allocations: 12.75 kB / 0.8839 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.006189, allocations: 68.7 kB / 0.884 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.006417, allocations: 235.7 kB / 0.8842 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.006444, allocations: 25.38 kB / 0.8843 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.006473, allocations: 36.38 kB / 0.8843 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.006731, allocations: 217.1 kB / 0.8845 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.006745, allocations: 192 / 0.8845 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.006764, allocations: 16.36 kB / 0.8845 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.006772, allocations: 8.375 kB / 0.8845 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.006885, allocations: 106.8 kB / 0.8846 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.007578, allocations: 0.6621 MB / 0.8853 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.007784, allocations: 158.3 kB / 0.8854 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.007842, allocations: 64.19 kB / 0.8855 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.007863, allocations: 8.172 kB / 0.8855 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.007883, allocations: 37.62 kB / 0.8855 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/0.007885, allocations: 8 kB / 0.8855 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0002477/0.008133, allocations: 189.2 kB / 0.8857 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.008161, allocations: 51.41 kB / 0.8858 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.008298, allocations: 266.5 kB / 0.886 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.008316, allocations: 33.7 kB / 0.886 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.008409, allocations: 223.2 kB / 0.8863 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.00845, allocations: 83.25 kB / 0.8863 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.008519, allocations: 75.58 kB / 0.8864 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.008645, allocations: 0.5117 MB / 0.8869 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.008707, allocations: 28.48 kB / 0.8869 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.008817, allocations: 118.5 kB / 0.8871 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.009, allocations: 153.3 kB / 0.8872 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.009002, allocations: 0 / 0.8872 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002075/0.00921, allocations: 189.4 kB / 0.8874 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.009224, allocations: 8 kB / 0.8874 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.00923, allocations: 0 / 0.8874 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.00924, allocations: 7.938 kB / 0.8874 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.009379, allocations: 55.91 kB / 0.8874 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.009383, allocations: 0 / 0.8874 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.009446, allocations: 31.77 kB / 0.8875 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.009459, allocations: 12.22 kB / 0.8875 GB, free: 13.48 MB / 0.8542 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.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y,actAirSet.setBacMod.y,actAirSet.warUpMod.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 0.0001021/0.009561, allocations: 180.5 kB / 0.8877 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.009598, allocations: 31.86 kB / 0.8877 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.009802, allocations: 164.7 kB / 0.8878 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.009806, allocations: 4 kB / 0.8879 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.009808, allocations: 0 / 0.8879 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.009813, allocations: 3.984 kB / 0.8879 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.01, allocations: 201 kB / 0.888 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01, allocations: 4 kB / 0.8881 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.01009, allocations: 39.91 kB / 0.8881 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.0101, allocations: 0 / 0.8881 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01011, allocations: 12 kB / 0.8881 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01011, allocations: 0 / 0.8881 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01011, allocations: 0 / 0.8881 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.01032, allocations: 311.6 kB / 0.8884 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.01033, allocations: 23.8 kB / 0.8884 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.01035, allocations: 4 kB / 0.8884 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.01041, allocations: 11.98 kB / 0.8884 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.01046, allocations: 27.95 kB / 0.8885 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.01047, allocations: 8 kB / 0.8885 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.01053, allocations: 169.3 kB / 0.8886 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01053, allocations: 0 / 0.8886 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002141/0.01075, allocations: 67.72 kB / 0.8887 GB, free: 12.18 MB / 0.8542 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.0001161/0.01086, allocations: 107.2 kB / 0.8888 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.01102, allocations: 132.1 kB / 0.8889 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01102, allocations: 4 kB / 0.8889 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.895e-05/0.01109, allocations: 76.03 kB / 0.889 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.01152, allocations: 33.06 kB / 0.889 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/0.01221, allocations: 472.2 kB / 0.8895 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.196e-05/0.01226, allocations: 92.31 kB / 0.8896 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.285e-05/0.01235, allocations: 38.27 kB / 0.8896 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.01245, allocations: 106.2 kB / 0.8897 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.01245, allocations: 0 / 0.8897 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of Templates: time 0.004514/0.01697, allocations: 2.05 MB / 0.8917 GB, free: 9.098 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.37120168376714]