Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.00177/0.00177, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.00276/0.00276, allocations: 214.8 kB / 22.26 MB, free: 5.215 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.701/1.701, allocations: 230.6 MB / 256 MB, free: 7.988 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.632/3.632, allocations: 0.5096 GB / 0.8147 GB, free: 17.25 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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.002488/0.002488, allocations: 79.52 kB / 1.184 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4216, allocations: 181.4 MB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003122/0.4247, allocations: 1.138 MB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.4266, allocations: 1.065 MB / 1.364 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.4268, allocations: 4 kB / 1.364 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.269e-05/0.4269, allocations: 27.67 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.4271, allocations: 35.72 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.4275, allocations: 83.86 kB / 1.364 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.4278, allocations: 228.1 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.4281, allocations: 96.59 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.4284, allocations: 103.6 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.4286, allocations: 103.5 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.4286, allocations: 24 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.077e-05/0.4287, allocations: 32 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.4288, allocations: 55.78 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.4289, allocations: 103.5 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.4294, allocations: 317.2 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4294, allocations: 0 / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4294, allocations: 0 / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.4294, allocations: 0 / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009349/0.4303, allocations: 429.7 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4304, allocations: 8.031 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.4306, allocations: 44.78 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.4311, allocations: 210.5 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.4311, allocations: 16.81 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.4312, allocations: 24.38 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.4316, allocations: 191.8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4317, allocations: 192 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.4317, allocations: 19.94 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4317, allocations: 4 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.4321, allocations: 153.7 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.4331, allocations: 0.5571 MB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.4335, allocations: 150.6 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.4337, allocations: 60.81 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.4337, allocations: 0 / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.4338, allocations: 42.56 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.4338, allocations: 0 / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0006359/0.4344, allocations: 219.6 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.4345, allocations: 59.39 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.4347, allocations: 179.2 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.4347, allocations: 29.7 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4348, allocations: 136.4 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.4349, allocations: 55.64 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.435, allocations: 57.69 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4351, allocations: 322.8 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.4353, allocations: 55.95 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.4355, allocations: 97.11 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.4359, allocations: 150.8 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4359, allocations: 4 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000454/0.4363, allocations: 197.2 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4363, allocations: 8 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4363, allocations: 0 / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4363, allocations: 4 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.4365, allocations: 28.14 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4365, allocations: 11.92 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.4367, allocations: 23.83 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.4367, allocations: 11.98 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (22): * Single equations (assignments): 22 * 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.0002168/0.4369, allocations: 137.8 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.4369, allocations: 19.84 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.437, allocations: 17.81 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.437, allocations: 4 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.437, allocations: 0 / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.437, allocations: 7.922 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.4374, allocations: 248.5 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4374, allocations: 0 / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.4375, allocations: 19.98 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4375, allocations: 4 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.4375, allocations: 4 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4375, allocations: 0 / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4375, allocations: 0 / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.438, allocations: 272.8 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.438, allocations: 15.84 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.438, allocations: 4 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.4381, allocations: 11.98 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.4382, allocations: 19.97 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.4382, allocations: 12 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001062/0.4384, allocations: 120.2 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4384, allocations: 0 / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002954/0.4387, allocations: 39.89 kB / 1.369 GB, free: 8.008 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: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001762/0.4388, allocations: 110.8 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.4393, allocations: 149.9 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4393, allocations: 0 / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.4395, allocations: 71.89 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.4398, allocations: 31.86 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.4406, allocations: 349.3 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.441, allocations: 0.7281 MB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.4412, allocations: 29.45 kB / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.4412, allocations: 23.44 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of SimCode: time 7.42e-07/0.4412, allocations: 4 kB / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of Templates: time 0.005723/0.447, allocations: 1.568 MB / 1.372 GB, free: 4.949 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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: 10.232235807925463]