Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001416/0.001416, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001627/0.001627, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.676/1.676, allocations: 230.6 MB / 256 MB, free: 7.789 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.339/3.339, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 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.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_12_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_12_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.003117/0.003117, allocations: 70.94 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3967, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002697/0.3994, allocations: 1.068 MB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.401, allocations: 1.053 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.4011, allocations: 4 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.9e-05/0.4012, allocations: 31.59 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.4014, allocations: 27.69 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.4017, allocations: 91.84 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.4019, allocations: 224.2 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.4022, allocations: 100.5 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.4024, allocations: 95.66 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.4026, allocations: 91.45 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.4026, allocations: 28 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.22e-05/0.4027, allocations: 24 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.4027, allocations: 51.84 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.953e-05/0.4028, allocations: 79.59 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.4032, allocations: 320.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4032, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4032, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.4032, allocations: 4 kB / 1.329 GB, free: 14.54 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007254/0.4039, allocations: 429.7 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.404, allocations: 12.02 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.4041, allocations: 36.75 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.4047, allocations: 217.2 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.4047, allocations: 12.81 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.4047, allocations: 24.38 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.4052, allocations: 195.8 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4052, allocations: 192 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.4053, allocations: 19.88 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.4053, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.4057, allocations: 157.6 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009457/0.4067, allocations: 479.2 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.4071, allocations: 162.5 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.4073, allocations: 56.83 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.4073, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.4074, allocations: 38.47 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.4074, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0007205/0.4081, allocations: 211.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.4081, allocations: 59.34 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.4084, allocations: 183.5 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.4084, allocations: 25.7 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.4085, allocations: 152.5 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.4086, allocations: 39.59 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.4087, allocations: 53.69 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4089, allocations: 334.7 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.4091, allocations: 55.95 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.4093, allocations: 102.6 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.4096, allocations: 142.3 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4096, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004416/0.41, allocations: 201.2 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4101, allocations: 8 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4101, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4101, allocations: 4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.4103, allocations: 35.91 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.4103, allocations: 4.156 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.4104, allocations: 23.88 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4104, allocations: 8 kB / 1.332 GB, free: 10.91 MB / 1.029 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.00024/0.4107, allocations: 138.3 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.4107, allocations: 19.84 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.4108, allocations: 21.81 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4108, allocations: 3.984 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4108, allocations: 0 / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4108, allocations: 4 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.4111, allocations: 185.2 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4111, allocations: 0 / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.4112, allocations: 27.92 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4112, allocations: 3.938 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.4112, allocations: 7.984 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4112, allocations: 0 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4112, allocations: 0 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.4117, allocations: 260.8 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.4117, allocations: 15.84 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.4117, allocations: 11.94 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.4119, allocations: 7.984 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.412, allocations: 27.95 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.412, allocations: 4 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001201/0.4121, allocations: 119.5 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4121, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000278/0.4124, allocations: 39.89 kB / 1.333 GB, free: 9.977 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: 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.0001477/0.4125, allocations: 115.2 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.4129, allocations: 153.4 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4129, allocations: 0 / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.4131, allocations: 67.89 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.4134, allocations: 26.88 kB / 1.333 GB, free: 9.613 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.4141, allocations: 363.2 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.4143, allocations: 125.2 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.739e-05/0.4144, allocations: 17.48 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.4144, allocations: 19.44 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/0.4144, allocations: 0 / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of Templates: time 0.005019/0.4195, allocations: 1.599 MB / 1.335 GB, free: 7.52 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.475408947095275]