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.001018/0.001018, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009983/0.0009983, allocations: 173 kB / 23.49 MB, free: 1.059 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.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.098/2.098, allocations: 429.5 MB / 0.6736 GB, free: 4.07 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 4.348e-06/4.348e-06, allocations: 4 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.265e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002343/0.002376, allocations: 1.388 MB / 0.8796 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003639, allocations: 1.156 MB / 0.8807 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.00376, allocations: 5.125 kB / 0.8807 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.264e-05/0.003823, allocations: 35.53 kB / 0.8808 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.003957, allocations: 40.47 kB / 0.8808 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.004255, allocations: 136.2 kB / 0.8809 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.004503, allocations: 336.6 kB / 0.8812 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.004753, allocations: 151.6 kB / 0.8814 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.005056, allocations: 215.5 kB / 0.8816 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.005173, allocations: 104.7 kB / 0.8817 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.005216, allocations: 36 kB / 0.8817 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.005286, allocations: 48 kB / 0.8818 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.005334, allocations: 85.02 kB / 0.8819 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.393e-05/0.005408, allocations: 99.73 kB / 0.8819 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.00571, allocations: 246.9 kB / 0.8822 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.005714, allocations: 4 kB / 0.8822 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005715, allocations: 1.094 kB / 0.8822 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.005721, allocations: 0 / 0.8822 GB, free: 2.582 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.0006355/0.006357, allocations: 0.606 MB / 0.8828 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.006402, allocations: 13.16 kB / 0.8828 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.006583, allocations: 72.69 kB / 0.8829 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.006943, allocations: 258.4 kB / 0.8831 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.006983, allocations: 30.12 kB / 0.8831 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.007011, allocations: 32.38 kB / 0.8832 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.007335, allocations: 239.2 kB / 0.8834 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.007345, allocations: 192 / 0.8834 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.007367, allocations: 12.38 kB / 0.8834 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.007378, allocations: 8.375 kB / 0.8834 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.007576, allocations: 121.9 kB / 0.8835 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.008348, allocations: 0.7084 MB / 0.8842 GB, free: 396 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.008633, allocations: 179.2 kB / 0.8844 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.126e-05/0.008724, allocations: 74.52 kB / 0.8845 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.008754, allocations: 4.234 kB / 0.8845 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.008779, allocations: 41.61 kB / 0.8845 GB, free: 76 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 2.545e-06/0.008782, allocations: 1.531 kB / 0.8845 GB, free: 76 kB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0003458/0.009128, allocations: 205.2 kB / 0.8847 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.009161, allocations: 59.34 kB / 0.8848 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.009313, allocations: 266.7 kB / 0.885 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.009329, allocations: 29.7 kB / 0.885 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.009439, allocations: 231.2 kB / 0.8853 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.009575, allocations: 79.34 kB / 0.8853 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/0.009648, allocations: 75.56 kB / 0.8854 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.009772, allocations: 0.5039 MB / 0.8859 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.009841, allocations: 40.53 kB / 0.8859 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.009944, allocations: 114.6 kB / 0.8861 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.01011, allocations: 177.5 kB / 0.8862 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01011, allocations: 0 / 0.8862 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002364/0.01035, allocations: 205.5 kB / 0.8864 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01037, allocations: 12.03 kB / 0.8864 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.01037, allocations: 0 / 0.8864 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.01039, allocations: 7.938 kB / 0.8864 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.01055, allocations: 55.91 kB / 0.8865 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01056, allocations: 0 / 0.8865 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.01062, allocations: 31.78 kB / 0.8865 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.01063, allocations: 11.94 kB / 0.8865 GB, free: 13.87 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.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 0.0001141/0.01074, allocations: 177.6 kB / 0.8867 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.01078, allocations: 31.86 kB / 0.8867 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.01103, allocations: 188.5 kB / 0.8869 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.01103, allocations: 8 kB / 0.8869 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.01104, allocations: 0 / 0.8869 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.01104, allocations: 3.984 kB / 0.8869 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.01126, allocations: 240.3 kB / 0.8872 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01126, allocations: 0 / 0.8872 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.01136, allocations: 43.91 kB / 0.8872 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01137, allocations: 4 kB / 0.8872 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01138, allocations: 4 kB / 0.8872 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01138, allocations: 0 / 0.8872 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01138, allocations: 4 kB / 0.8872 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.01184, allocations: 327.6 kB / 0.8875 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.01186, allocations: 23.8 kB / 0.8875 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.01188, allocations: 4 kB / 0.8875 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/0.01193, allocations: 8 kB / 0.8876 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.012, allocations: 27.95 kB / 0.8876 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.01201, allocations: 4 kB / 0.8876 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.355e-05/0.01208, allocations: 177.4 kB / 0.8878 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01208, allocations: 4 kB / 0.8878 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001998/0.01228, allocations: 59.78 kB / 0.8878 GB, free: 12.49 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.000123/0.01241, allocations: 111.2 kB / 0.8879 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.01263, allocations: 151.3 kB / 0.8881 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01263, allocations: 448 / 0.8881 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.01272, allocations: 84.53 kB / 0.8881 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.01296, allocations: 31.98 kB / 0.8882 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.01378, allocations: 476.5 kB / 0.8886 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.753e-05/0.01384, allocations: 84.33 kB / 0.8887 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.798e-05/0.01393, allocations: 30.28 kB / 0.8887 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/0.01399, allocations: 36.48 kB / 0.8888 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/0.01399, allocations: 3.938 kB / 0.8888 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.004399/0.01839, allocations: 1.851 MB / 0.8906 GB, free: 9.656 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.456113847903907]