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.001336/0.001336, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001628/0.001628, allocations: 217.9 kB / 23.01 MB, free: 4.566 MB / 14.72 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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 3.374/3.374, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.56 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3786, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002968/0.3815, allocations: 1.453 MB / 1.356 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3832, allocations: 1.132 MB / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.3833, allocations: 8 kB / 1.357 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.3834, allocations: 39.47 kB / 1.357 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.3836, allocations: 47.53 kB / 1.357 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3839, allocations: 123.8 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003604/0.3843, allocations: 348.6 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.3846, allocations: 158.5 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.3849, allocations: 147.4 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.3851, allocations: 147.2 kB / 1.358 GB, free: 4.383 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.3851, allocations: 44 kB / 1.358 GB, free: 4.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.3852, allocations: 40 kB / 1.358 GB, free: 4.301 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.3853, allocations: 83.75 kB / 1.358 GB, free: 4.219 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3854, allocations: 159.1 kB / 1.358 GB, free: 4.062 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.386, allocations: 493.8 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.386, allocations: 0 / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.793e-06/0.386, allocations: 0 / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.386, allocations: 0 / 1.358 GB, free: 3.578 MB / 1.045 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.0008094/0.3868, allocations: 0.5251 MB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3869, allocations: 8.031 kB / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.387, allocations: 48.69 kB / 1.359 GB, free: 2.965 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.3876, allocations: 251.7 kB / 1.359 GB, free: 2.691 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.3876, allocations: 29.38 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.3877, allocations: 32.38 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.3882, allocations: 299 kB / 1.36 GB, free: 2.34 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3882, allocations: 192 / 1.36 GB, free: 2.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.3883, allocations: 19.94 kB / 1.36 GB, free: 2.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3883, allocations: 8 kB / 1.36 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000542/0.3888, allocations: 231.9 kB / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.3901, allocations: 0.7904 MB / 1.361 GB, free: 1.242 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.3906, allocations: 225.7 kB / 1.361 GB, free: 1.016 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.3908, allocations: 102.5 kB / 1.361 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.3908, allocations: 4.234 kB / 1.361 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3909, allocations: 38.8 kB / 1.361 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/0.3909, allocations: 0 / 1.361 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.0008081/0.3917, allocations: 311.4 kB / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3917, allocations: 55.41 kB / 1.361 GB, free: 500 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.3919, allocations: 215.6 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.392, allocations: 33.7 kB / 1.362 GB, free: 236 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3921, allocations: 184.4 kB / 1.362 GB, free: 48 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/0.3922, allocations: 83.45 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.3923, allocations: 69.97 kB / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3924, allocations: 330.8 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.3926, allocations: 80.52 kB / 1.362 GB, free: 15.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.3929, allocations: 139.9 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.3934, allocations: 222.7 kB / 1.363 GB, free: 15.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3934, allocations: 0 / 1.363 GB, free: 15.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005785/0.3939, allocations: 270.2 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.394, allocations: 4 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.394, allocations: 4 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.394, allocations: 15.67 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.3942, allocations: 55.91 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3942, allocations: 0 / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.3944, allocations: 35.98 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.3944, allocations: 16 kB / 1.363 GB, free: 14.68 MB / 1.061 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.0002109/0.3946, allocations: 145.8 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.3947, allocations: 23.86 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.3953, allocations: 260.4 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3953, allocations: 4 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3953, allocations: 0 / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.3953, allocations: 3.984 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.3957, allocations: 320.4 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3957, allocations: 0 / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.3959, allocations: 43.91 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3959, allocations: 4 kB / 1.364 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3959, allocations: 7.938 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3959, allocations: 0 / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3959, allocations: 8 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.3965, allocations: 331.2 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.3965, allocations: 19.8 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.3965, allocations: 11.94 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3967, allocations: 15.97 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.3968, allocations: 31.89 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3968, allocations: 12 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001215/0.3969, allocations: 137.5 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3969, allocations: 0 / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003371/0.3972, allocations: 63.78 kB / 1.364 GB, free: 13.19 MB / 1.061 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.0001573/0.3974, allocations: 107.2 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000547/0.3979, allocations: 212.2 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3979, allocations: 0 / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.3982, allocations: 108.3 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.3985, allocations: 25.16 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000952/0.3994, allocations: 0.5039 MB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3999, allocations: 0.7712 MB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.4, allocations: 31.44 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of SimCode: time 9.72e-07/0.4, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of Templates: time 0.005751/0.4057, allocations: 3.066 MB / 1.369 GB, free: 8.316 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.705472148983972]