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.001789/0.001789, allocations: 102.1 kB / 19.7 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.002196/0.002196, allocations: 219.2 kB / 23.01 MB, free: 4.605 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.804/2.804, allocations: 476.8 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002424/0.002424, allocations: 64.17 kB / 1.119 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.374, allocations: 169.9 MB / 1.285 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002837/0.3769, allocations: 1.461 MB / 1.286 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3784, allocations: 1.135 MB / 1.287 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.3785, allocations: 8 kB / 1.287 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.702e-05/0.3786, allocations: 35.53 kB / 1.287 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3787, allocations: 51.53 kB / 1.287 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.379, allocations: 115.9 kB / 1.287 GB, free: 492 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.3794, allocations: 348.6 kB / 1.288 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.3797, allocations: 162.5 kB / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.38, allocations: 139.4 kB / 1.288 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.3801, allocations: 151.2 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.3802, allocations: 44 kB / 1.288 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.3803, allocations: 44 kB / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.3803, allocations: 79.77 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.3805, allocations: 159.1 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.381, allocations: 493.8 kB / 1.289 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.381, allocations: 0 / 1.289 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.381, allocations: 0 / 1.289 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.381, allocations: 0 / 1.289 GB, free: 14.89 MB / 0.9981 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.0008597/0.3819, allocations: 0.5135 MB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3819, allocations: 16.02 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.3821, allocations: 44.7 kB / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.3826, allocations: 263.7 kB / 1.29 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.3826, allocations: 29.38 kB / 1.29 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.3827, allocations: 32.38 kB / 1.29 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.3832, allocations: 295 kB / 1.29 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3832, allocations: 192 / 1.29 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.3833, allocations: 19.94 kB / 1.29 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.3833, allocations: 11.94 kB / 1.29 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.3838, allocations: 239.8 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.385, allocations: 0.7788 MB / 1.291 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.3855, allocations: 227.4 kB / 1.291 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.3857, allocations: 105.3 kB / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.3858, allocations: 4.219 kB / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3858, allocations: 42.8 kB / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.242e-06/0.3858, allocations: 0 / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.0007546/0.3865, allocations: 312.2 kB / 1.292 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3866, allocations: 55.41 kB / 1.292 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.3868, allocations: 207.7 kB / 1.292 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.3868, allocations: 33.7 kB / 1.292 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3869, allocations: 176.5 kB / 1.292 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.387, allocations: 83.27 kB / 1.292 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3871, allocations: 73.92 kB / 1.292 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3872, allocations: 330.8 kB / 1.293 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.3875, allocations: 80.52 kB / 1.293 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.3877, allocations: 139.9 kB / 1.293 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.3882, allocations: 222.9 kB / 1.293 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3882, allocations: 0 / 1.293 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005458/0.3887, allocations: 277.2 kB / 1.293 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3887, allocations: 4 kB / 1.293 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3887, allocations: 4 kB / 1.293 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3887, allocations: 7.938 kB / 1.293 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.389, allocations: 55.91 kB / 1.293 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.389, allocations: 0 / 1.293 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.3891, allocations: 32.09 kB / 1.293 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3891, allocations: 8 kB / 1.293 GB, free: 10.01 MB / 0.9981 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.0002094/0.3894, allocations: 154.3 kB / 1.294 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.3894, allocations: 23.86 kB / 1.294 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005706/0.39, allocations: 264.3 kB / 1.294 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.39, allocations: 7.938 kB / 1.294 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.39, allocations: 0 / 1.294 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.39, allocations: 0 / 1.294 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.3904, allocations: 324.4 kB / 1.294 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3904, allocations: 7.938 kB / 1.294 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.3906, allocations: 43.91 kB / 1.294 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3906, allocations: 4 kB / 1.294 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3906, allocations: 4 kB / 1.294 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3906, allocations: 7.922 kB / 1.294 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3906, allocations: 4 kB / 1.294 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.3911, allocations: 319.4 kB / 1.295 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.3912, allocations: 23.8 kB / 1.295 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.3912, allocations: 4 kB / 1.295 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3913, allocations: 15.92 kB / 1.295 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.3914, allocations: 35.89 kB / 1.295 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3914, allocations: 8 kB / 1.295 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000112/0.3915, allocations: 133.5 kB / 1.295 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3915, allocations: 0 / 1.295 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003078/0.3918, allocations: 63.78 kB / 1.295 GB, free: 8.516 MB / 0.9981 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.000133/0.392, allocations: 111.2 kB / 1.295 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005114/0.3925, allocations: 215.8 kB / 1.295 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3925, allocations: 0 / 1.295 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.3927, allocations: 100.8 kB / 1.295 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.393, allocations: 23.98 kB / 1.295 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.3939, allocations: 0.516 MB / 1.296 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.3943, allocations: 0.7636 MB / 1.297 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.3944, allocations: 27.42 kB / 1.297 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.3944, allocations: 0 / 1.297 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of Templates: time 0.005213/0.3996, allocations: 3.075 MB / 1.3 GB, free: 3.629 MB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.262910353019834]