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.00236/0.00236, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002865/0.002865, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.637/1.637, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.923/2.923, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] 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.305e-06/2.305e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.325e-05, allocations: 3.969 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002917/0.00295, allocations: 1.382 MB / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.004869, allocations: 1.142 MB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.004992, allocations: 4 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.174e-05/0.005084, allocations: 35.53 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.005255, allocations: 40.95 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.00558, allocations: 123.8 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000381/0.005961, allocations: 345.5 kB / 0.7894 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.006256, allocations: 154.5 kB / 0.7896 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.006615, allocations: 208.1 kB / 0.7897 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.006769, allocations: 107.7 kB / 0.7899 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.006829, allocations: 41.59 kB / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.006906, allocations: 40 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.522e-05/0.006991, allocations: 87.67 kB / 0.79 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.007099, allocations: 95.75 kB / 0.7901 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.007675, allocations: 0.4938 MB / 0.7906 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007678, allocations: 3.938 kB / 0.7906 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.007679, allocations: 0 / 0.7906 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.007685, allocations: 0 / 0.7906 GB, free: 8.492 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.0009398/0.008624, allocations: 0.6324 MB / 0.7912 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.008658, allocations: 8.031 kB / 0.7912 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.008878, allocations: 76.69 kB / 0.7913 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.009383, allocations: 262.4 kB / 0.7915 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.009426, allocations: 29.97 kB / 0.7916 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.009467, allocations: 28.38 kB / 0.7916 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.01001, allocations: 276.7 kB / 0.7919 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.01002, allocations: 8.156 kB / 0.7919 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.01005, allocations: 12.38 kB / 0.7919 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.01006, allocations: 8.375 kB / 0.7919 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.01057, allocations: 221.6 kB / 0.7921 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.01194, allocations: 0.8755 MB / 0.793 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.01243, allocations: 240.7 kB / 0.7932 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.01266, allocations: 101.5 kB / 0.7933 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.01269, allocations: 9.453 kB / 0.7933 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.01273, allocations: 37.62 kB / 0.7933 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.162e-06/0.01273, allocations: 0 / 0.7933 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0006981/0.01342, allocations: 300.3 kB / 0.7936 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.01348, allocations: 52.62 kB / 0.7937 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.01379, allocations: 318.6 kB / 0.794 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.01382, allocations: 29.7 kB / 0.794 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.01399, allocations: 240.8 kB / 0.7942 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.415e-05/0.01408, allocations: 87.28 kB / 0.7943 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.01421, allocations: 95.58 kB / 0.7944 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002882/0.0145, allocations: 0.5196 MB / 0.7949 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.01468, allocations: 69.09 kB / 0.795 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.01493, allocations: 163.9 kB / 0.7951 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.01534, allocations: 227.9 kB / 0.7953 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.01534, allocations: 0 / 0.7953 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008068/0.01615, allocations: 276.7 kB / 0.7956 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01617, allocations: 5.875 kB / 0.7956 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.01618, allocations: 8.516 kB / 0.7956 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.01619, allocations: 0 / 0.7956 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.01644, allocations: 53.05 kB / 0.7957 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.01645, allocations: 7.984 kB / 0.7957 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.01657, allocations: 20.83 kB / 0.7957 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.0166, allocations: 11.94 kB / 0.7957 GB, free: 2.996 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.0002049/0.0168, allocations: 201.9 kB / 0.7959 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.01687, allocations: 34.08 kB / 0.7959 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005316/0.0174, allocations: 236.2 kB / 0.7962 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.01741, allocations: 7.938 kB / 0.7962 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01741, allocations: 2.781 kB / 0.7962 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.01741, allocations: 0 / 0.7962 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.01781, allocations: 304.3 kB / 0.7965 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01781, allocations: 0 / 0.7965 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.01798, allocations: 39.91 kB / 0.7965 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01799, allocations: 4 kB / 0.7965 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.018, allocations: 8 kB / 0.7965 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01801, allocations: 0 / 0.7965 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01801, allocations: 5.469 kB / 0.7965 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.01855, allocations: 379.7 kB / 0.7969 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.01859, allocations: 23.8 kB / 0.7969 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01861, allocations: 0.5 kB / 0.7969 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.01872, allocations: 13.05 kB / 0.7969 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.01881, allocations: 27.95 kB / 0.7969 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.01883, allocations: 4 kB / 0.7969 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000161/0.01899, allocations: 197.9 kB / 0.7971 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01899, allocations: 1.562 kB / 0.7971 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003015/0.01929, allocations: 59.84 kB / 0.7972 GB, free: 1.422 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 0.0001406/0.01943, allocations: 109.9 kB / 0.7973 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.01991, allocations: 226.4 kB / 0.7975 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01992, allocations: 0 / 0.7975 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.02015, allocations: 120.6 kB / 0.7976 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.02045, allocations: 35.91 kB / 0.7977 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.02136, allocations: 0.4959 MB / 0.7981 GB, free: 416 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.02153, allocations: 153.4 kB / 0.7983 GB, free: 240 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.02167, allocations: 37.17 kB / 0.7983 GB, free: 208 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.02175, allocations: 28.5 kB / 0.7984 GB, free: 180 kB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/0.02175, allocations: 0 / 0.7984 GB, free: 180 kB / 0.7448 GB Notification: Performance of Templates: time 0.006079/0.02783, allocations: 1.846 MB / 0.8002 GB, free: 14.4 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.082730720983818]