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.001385/0.001385, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001634/0.001634, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.583/1.583, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.457/3.457, allocations: 0.49 GB / 0.7916 GB, free: 33.31 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.002056/0.002056, allocations: 80.22 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4084, allocations: 176.1 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002786/0.4112, allocations: 1.137 MB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.4127, allocations: 1.065 MB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.4128, allocations: 4 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.594e-05/0.4129, allocations: 23.67 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.413, allocations: 35.67 kB / 1.324 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.4133, allocations: 83.91 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.4136, allocations: 228.1 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.4138, allocations: 100.1 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.4141, allocations: 103.6 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.4142, allocations: 107.4 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.4142, allocations: 24 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.4143, allocations: 28 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.4144, allocations: 47.84 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.682e-05/0.4145, allocations: 103.5 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.4149, allocations: 314.6 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4149, allocations: 0 / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4149, allocations: 0 / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4149, allocations: 0 / 1.325 GB, free: 15.45 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.0008931/0.4158, allocations: 0.5066 MB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4158, allocations: 11.98 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.416, allocations: 36.78 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.4166, allocations: 277.3 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.4166, allocations: 16.8 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.4166, allocations: 24.38 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.4171, allocations: 195.8 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4171, allocations: 192 / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.4171, allocations: 11.94 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4171, allocations: 8 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.4176, allocations: 157.6 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009338/0.4185, allocations: 0.5919 MB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.4189, allocations: 142.7 kB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.4191, allocations: 60.81 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.4191, allocations: 8 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.4191, allocations: 38.5 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.4191, allocations: 0 / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.000671/0.4198, allocations: 219.6 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4198, allocations: 51.41 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.42, allocations: 182.3 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.4201, allocations: 29.7 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.4202, allocations: 140.4 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.4202, allocations: 47.7 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.4203, allocations: 53.69 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4205, allocations: 326.8 kB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.4207, allocations: 51.97 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.4209, allocations: 111.3 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.4212, allocations: 144.9 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4213, allocations: 0 / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004505/0.4217, allocations: 203.1 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4217, allocations: 7.938 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.4217, allocations: 7.938 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4217, allocations: 0 / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.4219, allocations: 35.91 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4219, allocations: 4 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.4221, allocations: 23.88 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.4221, allocations: 7.984 kB / 1.328 GB, free: 11.51 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.0002161/0.4223, allocations: 149.8 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.4223, allocations: 15.84 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.4224, allocations: 21.86 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4224, allocations: 4 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4224, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4224, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.4227, allocations: 281.4 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4227, allocations: 0 / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.4229, allocations: 27.97 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4229, allocations: 0 / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4229, allocations: 4 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4229, allocations: 4 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4229, allocations: 0 / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.4233, allocations: 265 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/0.4234, allocations: 96.95 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.4234, allocations: 0 / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4236, allocations: 11.98 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.4237, allocations: 15.98 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4237, allocations: 11.98 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001037/0.4238, allocations: 124.2 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4238, allocations: 0 / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002733/0.424, allocations: 35.89 kB / 1.329 GB, free: 10.36 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.0001968/0.4242, allocations: 121 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004429/0.4247, allocations: 139.8 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4247, allocations: 0 / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.4249, allocations: 74.08 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.4252, allocations: 25.69 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.4259, allocations: 344.6 kB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.4263, allocations: 0.7358 MB / 1.331 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.065e-05/0.4264, allocations: 25.48 kB / 1.331 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.4265, allocations: 23.38 kB / 1.331 GB, free: 8.836 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4265, allocations: 0 / 1.331 GB, free: 8.836 MB / 1.029 GB Notification: Performance of Templates: time 0.005266/0.4317, allocations: 1.508 MB / 1.332 GB, free: 7.383 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.811572150792927]