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.001062/0.001062, allocations: 89.06 kB / 19.64 MB, free: 276 kB / 13.93 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.0009781/0.0009781, allocations: 169 kB / 23.01 MB, free: 1.547 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.9608/0.9608, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.136/2.136, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.813e-06/1.813e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.399e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.0022/0.002224, allocations: 1.405 MB / 0.8796 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003367, allocations: 1.145 MB / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.003481, allocations: 4 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.499e-05/0.003546, allocations: 43.47 kB / 0.8808 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.003681, allocations: 44.7 kB / 0.8808 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.003958, allocations: 124.4 kB / 0.8809 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.004192, allocations: 348.6 kB / 0.8812 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.004576, allocations: 147.1 kB / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.004846, allocations: 216.3 kB / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.004949, allocations: 99.67 kB / 0.8817 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.00499, allocations: 41.22 kB / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.00505, allocations: 47.98 kB / 0.8818 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.005094, allocations: 83.67 kB / 0.8819 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.005167, allocations: 99.75 kB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.005412, allocations: 252 kB / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005414, allocations: 0 / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005415, allocations: 1.125 kB / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.005419, allocations: 0 / 0.8822 GB, free: 2.219 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.0005743/0.005994, allocations: 0.6104 MB / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.006029, allocations: 8.031 kB / 0.8828 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.006175, allocations: 72.7 kB / 0.8829 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.00648, allocations: 266.8 kB / 0.8831 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.006518, allocations: 25.38 kB / 0.8831 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.006549, allocations: 37.16 kB / 0.8832 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.006847, allocations: 236.4 kB / 0.8834 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.006859, allocations: 5.797 kB / 0.8834 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.006878, allocations: 8.375 kB / 0.8834 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.006889, allocations: 8.375 kB / 0.8834 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.007066, allocations: 125.9 kB / 0.8835 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.007788, allocations: 0.7061 MB / 0.8842 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.008054, allocations: 173.7 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.008141, allocations: 73.28 kB / 0.8845 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.008169, allocations: 4.234 kB / 0.8845 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.00819, allocations: 42.16 kB / 0.8845 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.393e-06/0.008192, allocations: 1.594 kB / 0.8845 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0003146/0.008506, allocations: 209.2 kB / 0.8847 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.008535, allocations: 55.34 kB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.008673, allocations: 265.8 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.008688, allocations: 29.7 kB / 0.885 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.008785, allocations: 235.1 kB / 0.8853 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.008824, allocations: 79.34 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.008892, allocations: 71.62 kB / 0.8854 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.009011, allocations: 0.5078 MB / 0.8859 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-05/0.009073, allocations: 32.55 kB / 0.8859 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-05/0.009173, allocations: 122.6 kB / 0.8861 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.009333, allocations: 167 kB / 0.8862 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009335, allocations: 4 kB / 0.8862 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000236/0.009571, allocations: 209.3 kB / 0.8864 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.009585, allocations: 4 kB / 0.8864 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.009594, allocations: 8.203 kB / 0.8864 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.00961, allocations: 8 kB / 0.8864 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.009752, allocations: 47.92 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.00976, allocations: 7.984 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/0.009818, allocations: 27.78 kB / 0.8865 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.009831, allocations: 15.88 kB / 0.8865 GB, free: 13.5 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 9.77e-05/0.009929, allocations: 177.6 kB / 0.8867 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.009963, allocations: 31.86 kB / 0.8867 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.01019, allocations: 188.4 kB / 0.8869 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.01019, allocations: 4 kB / 0.8869 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.0102, allocations: 3.984 kB / 0.8869 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0102, allocations: 0 / 0.8869 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.01039, allocations: 244.3 kB / 0.8872 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01039, allocations: 0 / 0.8872 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.01048, allocations: 31.98 kB / 0.8872 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.01048, allocations: 3.984 kB / 0.8872 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01049, allocations: 8 kB / 0.8872 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01049, allocations: 4 kB / 0.8872 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01049, allocations: 0 / 0.8872 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.01071, allocations: 327.6 kB / 0.8875 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.01073, allocations: 23.8 kB / 0.8875 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.01074, allocations: 8 kB / 0.8875 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.01079, allocations: 8 kB / 0.8876 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.01085, allocations: 27.95 kB / 0.8876 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.01086, allocations: 4 kB / 0.8876 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.266e-05/0.01093, allocations: 177.4 kB / 0.8878 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01093, allocations: 0 / 0.8878 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001925/0.01113, allocations: 63.78 kB / 0.8878 GB, free: 12.13 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 8.004e-05/0.01121, allocations: 115.2 kB / 0.8879 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.01141, allocations: 147.4 kB / 0.8881 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01142, allocations: 0 / 0.8881 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.01164, allocations: 80.52 kB / 0.8881 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.01186, allocations: 38.25 kB / 0.8882 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.0126, allocations: 474.7 kB / 0.8886 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.01265, allocations: 88.31 kB / 0.8887 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.125e-05/0.01273, allocations: 38.27 kB / 0.8888 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.01279, allocations: 32.48 kB / 0.8888 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of SimCode: time 4.1e-07/0.01279, allocations: 0 / 0.8888 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.004318/0.01711, allocations: 1.85 MB / 0.8906 GB, free: 9.285 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.534265903290361]