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.001328/0.001328, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001551/0.001551, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9739/0.9739, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.859/1.859, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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 1.913e-06/1.913e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.294e-05, allocations: 7.125 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002123/0.002146, allocations: 1.413 MB / 0.7885 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.00374, allocations: 1.149 MB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.003933, allocations: 4 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.523e-05/0.004008, allocations: 36.94 kB / 0.7897 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.00416, allocations: 51.53 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.004508, allocations: 120.9 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.004783, allocations: 352.5 kB / 0.7902 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.005039, allocations: 146.5 kB / 0.7903 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.005338, allocations: 209.1 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.005459, allocations: 107.7 kB / 0.7906 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.005505, allocations: 40 kB / 0.7906 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.005571, allocations: 40 kB / 0.7907 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.005617, allocations: 85.86 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.00569, allocations: 99.75 kB / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.005997, allocations: 254.9 kB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006, allocations: 0 / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/0.006001, allocations: 0 / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.006006, allocations: 0 / 0.7911 GB, free: 8.379 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.0006461/0.006652, allocations: 0.6113 MB / 0.7917 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.006697, allocations: 12.02 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.006881, allocations: 68.7 kB / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.00723, allocations: 259.3 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.007268, allocations: 29.38 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.007299, allocations: 32.38 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.007623, allocations: 236.9 kB / 0.7923 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.007635, allocations: 192 / 0.7923 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.007657, allocations: 12.38 kB / 0.7923 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.007667, allocations: 8.938 kB / 0.7923 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.007851, allocations: 130.9 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.008651, allocations: 0.7071 MB / 0.7931 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.008921, allocations: 179.4 kB / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.009008, allocations: 68.83 kB / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.009038, allocations: 4.234 kB / 0.7934 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.00906, allocations: 37.62 kB / 0.7934 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.009062, allocations: 0.7188 kB / 0.7934 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.000322/0.009384, allocations: 212.1 kB / 0.7936 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.009414, allocations: 55.39 kB / 0.7937 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.009569, allocations: 264.3 kB / 0.7939 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.009587, allocations: 29.7 kB / 0.794 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.009696, allocations: 231.2 kB / 0.7942 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.009741, allocations: 83.33 kB / 0.7943 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.009818, allocations: 72.23 kB / 0.7943 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.009956, allocations: 0.5079 MB / 0.7948 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.01002, allocations: 37.56 kB / 0.7949 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.01012, allocations: 118.6 kB / 0.795 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.01029, allocations: 165.6 kB / 0.7951 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.01029, allocations: 4 kB / 0.7951 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002399/0.01053, allocations: 219.5 kB / 0.7953 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01055, allocations: 4 kB / 0.7954 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.01055, allocations: 4.844 kB / 0.7954 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.01057, allocations: 0 / 0.7954 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.01071, allocations: 52.91 kB / 0.7954 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.01072, allocations: 4 kB / 0.7954 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.01078, allocations: 27.81 kB / 0.7954 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.0108, allocations: 17.38 kB / 0.7955 GB, free: 3.68 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 9.657e-05/0.0109, allocations: 181 kB / 0.7956 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.01093, allocations: 37.11 kB / 0.7957 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.01116, allocations: 179.3 kB / 0.7958 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01116, allocations: 4 kB / 0.7958 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01117, allocations: 0 / 0.7958 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01117, allocations: 7.922 kB / 0.7958 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.01139, allocations: 252.3 kB / 0.7961 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.01139, allocations: 0 / 0.7961 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.01148, allocations: 35.92 kB / 0.7961 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01148, allocations: 0 / 0.7961 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01149, allocations: 4.5 kB / 0.7961 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.0115, allocations: 4 kB / 0.7961 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.0115, allocations: 1.938 kB / 0.7961 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.01173, allocations: 319.7 kB / 0.7964 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.01175, allocations: 19.8 kB / 0.7965 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.01177, allocations: 8 kB / 0.7965 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.315e-05/0.01182, allocations: 12.83 kB / 0.7965 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.01188, allocations: 23.95 kB / 0.7965 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.01189, allocations: 12.78 kB / 0.7965 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.649e-05/0.01197, allocations: 173.4 kB / 0.7967 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01197, allocations: 0.5312 kB / 0.7967 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002104/0.01218, allocations: 63.78 kB / 0.7967 GB, free: 2.309 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.629e-05/0.01228, allocations: 106.1 kB / 0.7968 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.01251, allocations: 156.1 kB / 0.797 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01251, allocations: 2.188 kB / 0.797 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.0126, allocations: 83.52 kB / 0.7971 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01284, allocations: 35.92 kB / 0.7971 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.01364, allocations: 471.7 kB / 0.7975 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.781e-05/0.0137, allocations: 88.31 kB / 0.7976 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.87e-05/0.01379, allocations: 33.06 kB / 0.7977 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.01384, allocations: 25.16 kB / 0.7977 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of SimCode: time 8.11e-07/0.01384, allocations: 0 / 0.7977 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of Templates: time 0.004486/0.01833, allocations: 1.855 MB / 0.7995 GB, free: 15.49 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.31577849201858]