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.00106/0.00106, allocations: 87.58 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.0009571/0.0009571, allocations: 165.4 kB / 23.82 MB, free: 0.75 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.9334/0.9334, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.732/1.732, 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.814e-06/1.814e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.212e-05, allocations: 2.312 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.00204/0.002062, allocations: 1.414 MB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003234, allocations: 1.15 MB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.003347, allocations: 4 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.454e-05/0.003412, allocations: 39.53 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.00355, allocations: 55.97 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.003839, allocations: 132.4 kB / 0.7899 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.004073, allocations: 341.5 kB / 0.7902 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.004303, allocations: 146.5 kB / 0.7903 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.004607, allocations: 224 kB / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.004708, allocations: 96.64 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.004745, allocations: 32 kB / 0.7907 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.859e-05/0.004804, allocations: 36 kB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.004842, allocations: 77.28 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.004903, allocations: 91.73 kB / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.005138, allocations: 234.9 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.00514, allocations: 0 / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005141, allocations: 3.531 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.005146, allocations: 0 / 0.7911 GB, free: 8.406 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.0005419/0.005688, allocations: 0.6017 MB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.005723, allocations: 8.031 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.005866, allocations: 72.69 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.006097, allocations: 240.8 kB / 0.792 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.006129, allocations: 29.38 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.006156, allocations: 28.38 kB / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.00661, allocations: 244.4 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.006625, allocations: 1.844 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.006652, allocations: 8.375 kB / 0.7923 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.006669, allocations: 8.375 kB / 0.7923 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.006933, allocations: 130.8 kB / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.008036, allocations: 0.6967 MB / 0.7931 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.008398, allocations: 176.8 kB / 0.7933 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.008523, allocations: 77.78 kB / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.008551, allocations: 4.234 kB / 0.7933 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.008579, allocations: 39.06 kB / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.034e-06/0.008581, allocations: 3.938 kB / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0004169/0.008998, allocations: 207.6 kB / 0.7936 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.009044, allocations: 56.06 kB / 0.7936 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.009248, allocations: 264 kB / 0.7939 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.00927, allocations: 29.7 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.009402, allocations: 235.1 kB / 0.7941 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.00946, allocations: 79.34 kB / 0.7942 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.009554, allocations: 68.41 kB / 0.7943 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.009726, allocations: 0.5078 MB / 0.7948 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.00981, allocations: 42.34 kB / 0.7948 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.009948, allocations: 122.5 kB / 0.7949 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.01017, allocations: 163.2 kB / 0.7951 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01018, allocations: 1.188 kB / 0.7951 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00033/0.01051, allocations: 216 kB / 0.7953 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.01053, allocations: 8 kB / 0.7953 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.01054, allocations: 5.031 kB / 0.7953 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.01055, allocations: 4 kB / 0.7953 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.01074, allocations: 55.91 kB / 0.7954 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.01075, allocations: 8.656 kB / 0.7954 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.231e-05/0.01083, allocations: 27.78 kB / 0.7954 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.01085, allocations: 12.97 kB / 0.7954 GB, free: 3.727 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.0001251/0.01098, allocations: 186.1 kB / 0.7956 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.01103, allocations: 23.86 kB / 0.7956 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.01133, allocations: 181.1 kB / 0.7958 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01133, allocations: 6.219 kB / 0.7958 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01133, allocations: 0 / 0.7958 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01134, allocations: 0 / 0.7958 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.01161, allocations: 240.4 kB / 0.796 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01161, allocations: 0 / 0.796 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.01173, allocations: 42.72 kB / 0.7961 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01174, allocations: 4 kB / 0.7961 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01175, allocations: 4 kB / 0.7961 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01176, allocations: 0 / 0.7961 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01176, allocations: 3.938 kB / 0.7961 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.01207, allocations: 323.7 kB / 0.7964 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.01209, allocations: 27.73 kB / 0.7964 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.01212, allocations: 5.562 kB / 0.7964 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.0122, allocations: 8 kB / 0.7964 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.01228, allocations: 23.95 kB / 0.7964 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.0123, allocations: 12 kB / 0.7964 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001024/0.0124, allocations: 170 kB / 0.7966 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0124, allocations: 0 / 0.7966 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003152/0.01272, allocations: 64.34 kB / 0.7967 GB, free: 2.367 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.0001309/0.01285, allocations: 112.3 kB / 0.7968 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003029/0.01315, allocations: 157.5 kB / 0.7969 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01315, allocations: 1.062 kB / 0.7969 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.01327, allocations: 83.53 kB / 0.797 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.01361, allocations: 31.11 kB / 0.797 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/0.01456, allocations: 475.5 kB / 0.7975 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.101e-05/0.01463, allocations: 84.31 kB / 0.7976 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.01475, allocations: 34.25 kB / 0.7976 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.01482, allocations: 33.55 kB / 0.7976 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.01482, allocations: 0 / 0.7976 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of Templates: time 0.004744/0.01957, allocations: 1.907 MB / 0.7995 GB, free: 15.5 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: 4.940012665931135]