Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00136/0.00136, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001526/0.001526, allocations: 169 kB / 24.28 MB, free: 284 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.9624/0.9624, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.886/1.886, allocations: 359 MB / 0.6055 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.086e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00281/0.002841, allocations: 1.384 MB / 0.7885 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.004372, allocations: 1.149 MB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.004506, allocations: 4 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.504e-05/0.004601, allocations: 35.53 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.004781, allocations: 53.44 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.005139, allocations: 123.8 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.005479, allocations: 344.6 kB / 0.7901 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.005791, allocations: 147.7 kB / 0.7903 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.006149, allocations: 211.5 kB / 0.7905 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.006295, allocations: 107.6 kB / 0.7906 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.006353, allocations: 40.81 kB / 0.7906 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.418e-05/0.006437, allocations: 40 kB / 0.7907 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.006502, allocations: 84.64 kB / 0.7907 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.006602, allocations: 99.69 kB / 0.7908 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.006966, allocations: 253.4 kB / 0.7911 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006969, allocations: 0 / 0.7911 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00697, allocations: 3.938 kB / 0.7911 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.006977, allocations: 0 / 0.7911 GB, free: 8.723 MB / 0.7448 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.0007866/0.007763, allocations: 0.6055 MB / 0.7917 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.00781, allocations: 8.031 kB / 0.7917 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.008027, allocations: 81.22 kB / 0.7918 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.008486, allocations: 258.5 kB / 0.792 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.008533, allocations: 29.91 kB / 0.792 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.008577, allocations: 34.03 kB / 0.7921 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.00903, allocations: 235.8 kB / 0.7923 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.009044, allocations: 192 / 0.7923 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.009074, allocations: 16.38 kB / 0.7923 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.009091, allocations: 12.81 kB / 0.7923 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.009368, allocations: 126.4 kB / 0.7924 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.0104, allocations: 0.7014 MB / 0.7931 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.01077, allocations: 181.1 kB / 0.7933 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.0109, allocations: 74.12 kB / 0.7934 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-05/0.01096, allocations: 4.234 kB / 0.7934 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.01098, allocations: 37.62 kB / 0.7934 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.174e-06/0.01099, allocations: 1.75 kB / 0.7934 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0003546/0.01134, allocations: 211.6 kB / 0.7936 GB, free: 6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.01137, allocations: 59.41 kB / 0.7937 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.01152, allocations: 258.7 kB / 0.7939 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.01154, allocations: 34.92 kB / 0.7939 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.01164, allocations: 231.2 kB / 0.7942 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.01168, allocations: 75.34 kB / 0.7942 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.01175, allocations: 76.89 kB / 0.7943 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01187, allocations: 0.5078 MB / 0.7948 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.01194, allocations: 36.53 kB / 0.7948 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/0.01204, allocations: 120.2 kB / 0.795 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.0122, allocations: 168.1 kB / 0.7951 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.0122, allocations: 0 / 0.7951 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002263/0.01243, allocations: 215.2 kB / 0.7953 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01244, allocations: 9.938 kB / 0.7953 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01245, allocations: 0 / 0.7953 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01247, allocations: 4 kB / 0.7953 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.01262, allocations: 47.91 kB / 0.7954 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.01262, allocations: 4 kB / 0.7954 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.01268, allocations: 26.42 kB / 0.7954 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.0127, allocations: 15.94 kB / 0.7954 GB, free: 4.02 MB / 0.7448 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.0001021/0.0128, allocations: 181 kB / 0.7956 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.01283, allocations: 31.86 kB / 0.7956 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.01307, allocations: 185 kB / 0.7958 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01307, allocations: 0.8438 kB / 0.7958 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01308, allocations: 0 / 0.7958 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01308, allocations: 0 / 0.7958 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.01329, allocations: 253.6 kB / 0.7961 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01329, allocations: 0 / 0.7961 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.424e-05/0.01337, allocations: 39.91 kB / 0.7961 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01337, allocations: 0.8438 kB / 0.7961 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01339, allocations: 8 kB / 0.7961 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01339, allocations: 0.7188 kB / 0.7961 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01339, allocations: 0 / 0.7961 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.01377, allocations: 326.6 kB / 0.7964 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.01379, allocations: 23.8 kB / 0.7964 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.01381, allocations: 4 kB / 0.7964 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.01386, allocations: 8 kB / 0.7964 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.01393, allocations: 23.95 kB / 0.7965 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.01394, allocations: 15.98 kB / 0.7965 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.428e-05/0.01402, allocations: 169.4 kB / 0.7966 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01402, allocations: 5.938 kB / 0.7966 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002012/0.01422, allocations: 63.78 kB / 0.7967 GB, free: 2.648 MB / 0.7448 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 9.62e-05/0.01432, allocations: 107.2 kB / 0.7968 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.01453, allocations: 158.2 kB / 0.797 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01453, allocations: 0 / 0.797 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.01462, allocations: 84.66 kB / 0.797 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.01484, allocations: 31.92 kB / 0.7971 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007469/0.01559, allocations: 480.7 kB / 0.7975 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.772e-05/0.01565, allocations: 84.31 kB / 0.7976 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.852e-05/0.01574, allocations: 38.02 kB / 0.7976 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.0158, allocations: 28.5 kB / 0.7977 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.0158, allocations: 0 / 0.7977 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of Templates: time 0.004366/0.02016, allocations: 1.845 MB / 0.7995 GB, free: 15.82 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.189411957981065]