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.0008747/0.0008747, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008474/0.0008474, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8796/0.8796, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.783/1.783, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.057e-05, allocations: 6.219 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00238/0.00241, allocations: 1.076 MB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003632, allocations: 1.045 MB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.003715, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.96e-05/0.003774, allocations: 23.73 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.0039, allocations: 39.55 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.004182, allocations: 87.84 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.004413, allocations: 236.1 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.004629, allocations: 88.64 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.004896, allocations: 147.6 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.004999, allocations: 67.78 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.005043, allocations: 28 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.005102, allocations: 28 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.005143, allocations: 51.83 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.005207, allocations: 67.81 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.005547, allocations: 326.8 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005549, allocations: 0 / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00555, allocations: 0 / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.005555, allocations: 0 / 1.004 GB, free: 9.664 MB / 0.9636 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.0006437/0.006198, allocations: 437.8 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.006238, allocations: 8.75 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.006379, allocations: 32.78 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.006772, allocations: 222.4 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.0068, allocations: 16.88 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.006828, allocations: 16.38 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.007197, allocations: 204.6 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.007209, allocations: 4.188 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.007228, allocations: 4.375 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.007235, allocations: 8.375 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.007576, allocations: 157.8 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.008297, allocations: 479.6 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.008609, allocations: 149 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.008744, allocations: 64.81 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.008767, allocations: 7.906 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.00879, allocations: 30.56 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=17): time 1.674e-06/0.008791, allocations: 0 / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17): time 0.0005125/0.009304, allocations: 207.5 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.009343, allocations: 63.34 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.009494, allocations: 187.1 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.00951, allocations: 29.64 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.009588, allocations: 140.5 kB / 1.007 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.00963, allocations: 51.64 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.009706, allocations: 53.69 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.009816, allocations: 330.8 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.009954, allocations: 59.89 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.01011, allocations: 99.27 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.01038, allocations: 145 kB / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01038, allocations: 0 / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003594/0.01074, allocations: 195.2 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01075, allocations: 4 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.01076, allocations: 7.984 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.01078, allocations: 7.922 kB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.01102, allocations: 31.92 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.01103, allocations: 7.938 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.01115, allocations: 24.03 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.01116, allocations: 8 kB / 1.007 GB, free: 6.047 MB / 0.9636 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.0001766/0.01134, allocations: 147.2 kB / 1.008 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.01138, allocations: 11.91 kB / 1.008 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.01143, allocations: 21.81 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.01144, allocations: 7.938 kB / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.01144, allocations: 0 / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.01145, allocations: 0 / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.01172, allocations: 189.1 kB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01172, allocations: 8 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.01184, allocations: 27.91 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01184, allocations: 4 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.01185, allocations: 0 / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01186, allocations: 0 / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.01186, allocations: 3.938 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.01212, allocations: 260.3 kB / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.01213, allocations: 15.91 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.01215, allocations: 8 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.0122, allocations: 7.984 kB / 1.008 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.01226, allocations: 31.81 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.01226, allocations: 4 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.01232, allocations: 124.8 kB / 1.008 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01232, allocations: 0 / 1.008 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001729/0.0125, allocations: 39.83 kB / 1.008 GB, free: 5.094 MB / 0.9636 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 8.73e-05/0.01258, allocations: 119.3 kB / 1.008 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.01299, allocations: 133.7 kB / 1.009 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01299, allocations: 0 / 1.009 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.01318, allocations: 71.89 kB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.01353, allocations: 23.92 kB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.01411, allocations: 372.2 kB / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.09e-05/0.01418, allocations: 117.2 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.01423, allocations: 28.48 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of SimCode: time 3.2e-07/0.01423, allocations: 4 kB / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of Templates: time 0.002433/0.01666, allocations: 2.228 MB / 1.011 GB, free: 1.965 MB / 0.9636 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: 6.599131976254284]