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.001373/0.001373, allocations: 81.73 kB / 19.87 MB, free: 4.613 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.001472/0.001472, allocations: 169 kB / 23.28 MB, free: 1.215 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.9886/0.9886, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.395/2.395, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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 2.955e-06/2.955e-06, allocations: 0 / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.557e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002167/0.002202, allocations: 1.374 MB / 0.8911 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003608, allocations: 1.147 MB / 0.8922 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.00377, allocations: 8 kB / 0.8922 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.76e-05/0.003837, allocations: 35.53 kB / 0.8923 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.003985, allocations: 51.47 kB / 0.8923 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.00429, allocations: 127.8 kB / 0.8924 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.004568, allocations: 344.6 kB / 0.8928 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.00481, allocations: 146.5 kB / 0.8929 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.005174, allocations: 235.3 kB / 0.8931 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.005292, allocations: 87.69 kB / 0.8932 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.005328, allocations: 40 kB / 0.8933 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.055e-05/0.005389, allocations: 32 kB / 0.8933 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.005429, allocations: 75.73 kB / 0.8934 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.005489, allocations: 91.75 kB / 0.8935 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.005761, allocations: 234.9 kB / 0.8937 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005764, allocations: 0 / 0.8937 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.643e-06/0.005766, allocations: 0 / 0.8937 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.00577, allocations: 0 / 0.8937 GB, free: 5.711 MB / 0.8542 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.0005628/0.006333, allocations: 0.6132 MB / 0.8943 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.006374, allocations: 12.62 kB / 0.8943 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.006521, allocations: 68.7 kB / 0.8944 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.006754, allocations: 242 kB / 0.8946 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.006787, allocations: 29.38 kB / 0.8946 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.006813, allocations: 36.31 kB / 0.8946 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.007098, allocations: 211.8 kB / 0.8948 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.007111, allocations: 4.188 kB / 0.8949 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.007128, allocations: 8.375 kB / 0.8949 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.007137, allocations: 8.375 kB / 0.8949 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.007247, allocations: 102.8 kB / 0.895 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.007955, allocations: 0.666 MB / 0.8956 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.008167, allocations: 159.9 kB / 0.8958 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.008226, allocations: 56.16 kB / 0.8958 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.008251, allocations: 4.234 kB / 0.8958 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.008271, allocations: 41.62 kB / 0.8959 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.008273, allocations: 0 / 0.8959 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0002406/0.008513, allocations: 190.2 kB / 0.896 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.008539, allocations: 55.41 kB / 0.8961 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.008677, allocations: 263.5 kB / 0.8964 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.008693, allocations: 29.7 kB / 0.8964 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.008787, allocations: 223.2 kB / 0.8966 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.008827, allocations: 87.3 kB / 0.8967 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.008905, allocations: 75.53 kB / 0.8967 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.00903, allocations: 0.5078 MB / 0.8972 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/0.009072, allocations: 32.48 kB / 0.8973 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.81e-05/0.00915, allocations: 118.5 kB / 0.8974 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.009272, allocations: 154.2 kB / 0.8975 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.009276, allocations: 4 kB / 0.8975 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001886/0.009464, allocations: 189.4 kB / 0.8977 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.009479, allocations: 10.44 kB / 0.8977 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.009486, allocations: 4 kB / 0.8977 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.009497, allocations: 0 / 0.8977 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.009624, allocations: 63.83 kB / 0.8978 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.009629, allocations: 4 kB / 0.8978 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.009686, allocations: 27.81 kB / 0.8978 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.009696, allocations: 8 kB / 0.8978 GB, free: 1.191 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.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y,actAirSet.setBacMod.y,actAirSet.warUpMod.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.566e-05/0.009792, allocations: 180.7 kB / 0.898 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.009832, allocations: 31.86 kB / 0.898 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.01002, allocations: 164.2 kB / 0.8982 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01003, allocations: 4 kB / 0.8982 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.01003, allocations: 4 kB / 0.8982 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01003, allocations: 3.984 kB / 0.8982 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.01021, allocations: 204.9 kB / 0.8984 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01021, allocations: 4 kB / 0.8984 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.01029, allocations: 39.91 kB / 0.8984 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.0103, allocations: 4 kB / 0.8984 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.01031, allocations: 4 kB / 0.8984 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01031, allocations: 0 / 0.8984 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01031, allocations: 0 / 0.8984 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.0105, allocations: 320.1 kB / 0.8988 GB, free: 192 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.01052, allocations: 19.8 kB / 0.8988 GB, free: 172 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.01053, allocations: 8 kB / 0.8988 GB, free: 164 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.942e-05/0.01058, allocations: 8 kB / 0.8988 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.01063, allocations: 31.94 kB / 0.8988 GB, free: 124 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.01064, allocations: 4 kB / 0.8988 GB, free: 120 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.01071, allocations: 168.4 kB / 0.899 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.01071, allocations: 0 / 0.899 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000195/0.01091, allocations: 59.78 kB / 0.899 GB, free: 15.89 MB / 0.8698 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.839e-05/0.01101, allocations: 108.9 kB / 0.8991 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.01117, allocations: 135.8 kB / 0.8993 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01117, allocations: 0 / 0.8993 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.668e-05/0.01123, allocations: 75.56 kB / 0.8993 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.01144, allocations: 31.94 kB / 0.8994 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.0121, allocations: 465.1 kB / 0.8998 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.946e-05/0.01215, allocations: 92.44 kB / 0.8999 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.673e-05/0.01224, allocations: 34.28 kB / 0.8999 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.01234, allocations: 106.2 kB / 0.9 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of SimCode: time 8.21e-07/0.01234, allocations: 0 / 0.9 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.004126/0.01646, allocations: 2.013 MB / 0.902 GB, free: 12.86 MB / 0.8698 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.241288957186043]