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.001626/0.001626, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.001971/0.001971, allocations: 158.1 kB / 23.01 MB, free: 4.961 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.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.952/2.952, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 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.00231/0.00231, allocations: 67.89 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9065/0.9088, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002616/0.9114, allocations: 1.071 MB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.9127, allocations: 1.04 MB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.771e-05/0.9128, allocations: 12.59 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.003e-05/0.9128, allocations: 20.91 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.913, allocations: 38.56 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.9132, allocations: 84.78 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.9134, allocations: 230.8 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.9136, allocations: 92.83 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.9138, allocations: 103.2 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.914, allocations: 84.56 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.914, allocations: 31.78 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.9141, allocations: 30.16 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.9141, allocations: 50.67 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.046e-05/0.9142, allocations: 87.81 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.9146, allocations: 316.2 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9146, allocations: 0 / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9146, allocations: 1 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.9146, allocations: 0 / 1.19 GB, free: 14.14 MB / 1.076 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.0006462/0.9152, allocations: 422.6 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.9153, allocations: 14.11 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.9155, allocations: 40.55 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.9159, allocations: 210.2 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.9159, allocations: 17.78 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.916, allocations: 22.25 kB / 1.191 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.9164, allocations: 199 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.9164, allocations: 6 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.9164, allocations: 18.12 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.9164, allocations: 4.656 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.9168, allocations: 157 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007071/0.9175, allocations: 478.5 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.9179, allocations: 152.3 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.9181, allocations: 62.83 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.9181, allocations: 3.109 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.9181, allocations: 37.28 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.9181, allocations: 0 / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=17): time 0.0006266/0.9187, allocations: 209.7 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.9188, allocations: 62 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.9189, allocations: 183.4 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.9189, allocations: 34.86 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.919, allocations: 145.5 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.919, allocations: 45.27 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.9191, allocations: 57.53 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.9192, allocations: 328 kB / 1.193 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.9193, allocations: 50.95 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.9195, allocations: 101.6 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.9198, allocations: 146.4 kB / 1.193 GB, free: 11.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9199, allocations: 0 / 1.193 GB, free: 11.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004288/0.9203, allocations: 202.1 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.9203, allocations: 9.062 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9203, allocations: 5.5 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.9203, allocations: 3.281 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.9205, allocations: 34 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.9205, allocations: 2.188 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.9206, allocations: 24 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.9207, allocations: 5.938 kB / 1.193 GB, free: 11.82 MB / 1.076 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.0001516/0.9208, allocations: 145.1 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.9208, allocations: 18.73 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.9209, allocations: 18.7 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.9209, allocations: 2.281 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9209, allocations: 1.094 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9209, allocations: 5.203 kB / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.9211, allocations: 195 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.9211, allocations: 1.828 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.9213, allocations: 28.97 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.9213, allocations: 5.062 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.9213, allocations: 5.672 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.9213, allocations: 1.891 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.9213, allocations: 0 / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.9217, allocations: 254.2 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.9217, allocations: 13.91 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.9217, allocations: 5.031 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.9218, allocations: 20.7 kB / 1.194 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.9219, allocations: 23.91 kB / 1.194 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.9219, allocations: 5.25 kB / 1.194 GB, free: 11.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.626e-05/0.922, allocations: 122 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.922, allocations: 0 / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000282/0.9223, allocations: 37.89 kB / 1.194 GB, free: 11.17 MB / 1.076 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 9.209e-05/0.9224, allocations: 110 kB / 1.194 GB, free: 11.07 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.9228, allocations: 143.4 kB / 1.194 GB, free: 11.03 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9228, allocations: 1.062 kB / 1.194 GB, free: 11.03 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.923, allocations: 73.95 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.9233, allocations: 22.14 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.9239, allocations: 354.9 kB / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.924, allocations: 120.6 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.519e-05/0.9241, allocations: 22.47 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.9242, allocations: 29.09 kB / 1.195 GB, free: 10.66 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/0.9242, allocations: 4 kB / 1.195 GB, free: 10.66 MB / 1.076 GB Notification: Performance of Templates: time 0.005263/0.9294, allocations: 1.469 MB / 1.196 GB, free: 10.48 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.982822300051339]