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.Overrides.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.001735/0.001735, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002177/0.002177, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.918/2.918, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] 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.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.161e-05, allocations: 5.797 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.003042/0.003073, allocations: 1.587 MB / 1.002 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.004791, allocations: 1.186 MB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.004938, allocations: 8 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.005078, allocations: 51.28 kB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.005268, allocations: 59.34 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.005666, allocations: 191.7 kB / 1.003 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000532/0.006198, allocations: 0.5047 MB / 1.004 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.006601, allocations: 213.1 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.006959, allocations: 295.4 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.007191, allocations: 179.4 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.745e-05/0.007288, allocations: 60 kB / 1.004 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.007362, allocations: 56 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.007484, allocations: 127.6 kB / 1.005 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.007654, allocations: 151.6 kB / 1.005 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000763/0.008417, allocations: 0.7202 MB / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.008423, allocations: 3.984 kB / 1.005 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.303e-06/0.008424, allocations: 0 / 1.005 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.008436, allocations: 4 kB / 1.005 GB, free: 1.898 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001456/0.009892, allocations: 0.6882 MB / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.009934, allocations: 12.03 kB / 1.006 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.01004, allocations: 56.61 kB / 1.006 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.01132, allocations: 423.7 kB / 1.007 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.01137, allocations: 37.38 kB / 1.007 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.01145, allocations: 48.38 kB / 1.007 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.01265, allocations: 0.5062 MB / 1.007 GB, free: 64 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.01266, allocations: 192 / 1.007 GB, free: 64 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.01271, allocations: 20.38 kB / 1.007 GB, free: 44 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.01272, allocations: 12.38 kB / 1.007 GB, free: 32 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.01409, allocations: 430.1 kB / 1.008 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.01574, allocations: 1.018 MB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.01682, allocations: 399.8 kB / 1.009 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.01746, allocations: 198.4 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.021e-05/0.01751, allocations: 11.95 kB / 1.009 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.01754, allocations: 46.55 kB / 1.009 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=41): time 1.794e-06/0.01754, allocations: 0 / 1.009 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=41): time 0.00202/0.01956, allocations: 0.5729 MB / 1.01 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.01965, allocations: 114.8 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.01997, allocations: 288 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.02001, allocations: 33.69 kB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.02018, allocations: 224.7 kB / 1.01 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.02029, allocations: 123 kB / 1.011 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.02045, allocations: 94.16 kB / 1.011 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.02063, allocations: 346.8 kB / 1.011 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/0.02124, allocations: 160.9 kB / 1.011 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.02189, allocations: 258.2 kB / 1.011 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.02306, allocations: 391.9 kB / 1.012 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.02307, allocations: 4 kB / 1.012 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001368/0.02443, allocations: 477.5 kB / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.02445, allocations: 4 kB / 1.012 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.02446, allocations: 4 kB / 1.012 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.02448, allocations: 4 kB / 1.012 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.02503, allocations: 104.1 kB / 1.012 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.02504, allocations: 4 kB / 1.012 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.02538, allocations: 59.73 kB / 1.012 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.02541, allocations: 16 kB / 1.012 GB, free: 10.5 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002808/0.02569, allocations: 185.6 kB / 1.013 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.02579, allocations: 39.75 kB / 1.013 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.499e-05/0.02589, allocations: 42.14 kB / 1.013 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.02589, allocations: 4 kB / 1.013 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.0259, allocations: 0 / 1.013 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.02591, allocations: 0 / 1.013 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.02645, allocations: 324.9 kB / 1.013 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02645, allocations: 4 kB / 1.013 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.02689, allocations: 87.86 kB / 1.013 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.0269, allocations: 0 / 1.013 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.02692, allocations: 11.98 kB / 1.013 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.02693, allocations: 0 / 1.013 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02693, allocations: 4 kB / 1.013 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.02835, allocations: 0.6649 MB / 1.014 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.02839, allocations: 39.67 kB / 1.014 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.02844, allocations: 11.98 kB / 1.014 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.02887, allocations: 47.89 kB / 1.014 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.02904, allocations: 59.91 kB / 1.014 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.02907, allocations: 15.94 kB / 1.014 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001867/0.02925, allocations: 179.1 kB / 1.014 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.02925, allocations: 0 / 1.014 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004482/0.0297, allocations: 91.73 kB / 1.014 GB, free: 8.652 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001742/0.02988, allocations: 123.1 kB / 1.014 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.03119, allocations: 398.4 kB / 1.015 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0312, allocations: 0 / 1.015 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000707/0.0319, allocations: 231.6 kB / 1.015 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.0325, allocations: 55.16 kB / 1.015 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.03378, allocations: 0.6743 MB / 1.016 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.03401, allocations: 211.9 kB / 1.016 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002138/0.03422, allocations: 55.27 kB / 1.016 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.03437, allocations: 48.48 kB / 1.016 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.03437, allocations: 0 / 1.016 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of Templates: time 0.009895/0.04426, allocations: 3.917 MB / 1.02 GB, free: 2.996 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.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.331356596201658]