Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001627/0.001627, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001804/0.001804, allocations: 211.2 kB / 22.99 MB, free: 4.984 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.338/3.338, allocations: 0.49 GB / 0.7959 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002125/0.002125, allocations: 68.91 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3886, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003123/0.3917, allocations: 1.312 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3934, allocations: 1.128 MB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.3935, allocations: 8 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.046e-05/0.3936, allocations: 35.53 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.3938, allocations: 47.53 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3941, allocations: 119.9 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.3945, allocations: 340.6 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.3948, allocations: 162.5 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.3951, allocations: 151.4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.3953, allocations: 155.2 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.3953, allocations: 36 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.681e-05/0.3954, allocations: 44 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.3955, allocations: 79.7 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3956, allocations: 123.3 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.3961, allocations: 497.8 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3962, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3962, allocations: 4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.3962, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 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.0009216/0.3971, allocations: 0.5135 MB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3971, allocations: 8.031 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.3973, allocations: 48.69 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.3979, allocations: 259.6 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.3979, allocations: 29.38 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.398, allocations: 32.38 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006077/0.3986, allocations: 291.1 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3986, allocations: 192 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.3986, allocations: 23.92 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3987, allocations: 8 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.3992, allocations: 235.8 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.4004, allocations: 0.6584 MB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.4009, allocations: 230.5 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.4012, allocations: 101.2 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.4012, allocations: 4.234 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.924e-05/0.4013, allocations: 38.8 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.723e-06/0.4013, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0008195/0.4021, allocations: 317.2 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.4021, allocations: 59.34 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.4024, allocations: 211.7 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.4024, allocations: 29.7 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.4025, allocations: 184.4 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/0.4026, allocations: 87.31 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.4027, allocations: 65.97 kB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4029, allocations: 330.8 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.4031, allocations: 88.52 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.4033, allocations: 139.9 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.4038, allocations: 218.7 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4038, allocations: 0 / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005654/0.4044, allocations: 273.2 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4044, allocations: 4 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.4044, allocations: 4 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.4044, allocations: 12.2 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.4047, allocations: 55.91 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4047, allocations: 3.938 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.4049, allocations: 35.77 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.4049, allocations: 8 kB / 1.336 GB, free: 7.992 MB / 1.029 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.0002414/0.4051, allocations: 150.3 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.4052, allocations: 23.86 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007705/0.406, allocations: 260.6 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.406, allocations: 4 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.406, allocations: 3.938 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.406, allocations: 3.984 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.4064, allocations: 241.1 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4064, allocations: 0 / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.4066, allocations: 43.91 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4066, allocations: 7.938 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.4067, allocations: 4 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.4067, allocations: 4 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4067, allocations: 0 / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.4072, allocations: 331.2 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.4073, allocations: 23.8 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.4073, allocations: 7.938 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4074, allocations: 15.98 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.4075, allocations: 31.89 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4075, allocations: 8 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001288/0.4076, allocations: 137.5 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4076, allocations: 0 / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004116/0.4081, allocations: 63.78 kB / 1.337 GB, free: 6.598 MB / 1.029 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.0001691/0.4082, allocations: 110.4 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005523/0.4088, allocations: 212.2 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4088, allocations: 0 / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.409, allocations: 104.3 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.4093, allocations: 28.75 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.4103, allocations: 498.8 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.4105, allocations: 167.3 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.4107, allocations: 34.28 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.4108, allocations: 23.44 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4108, allocations: 0 / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of Templates: time 0.006661/0.4174, allocations: 2.081 MB / 1.34 GB, free: 3.355 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.346040860007633]