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.001306/0.001306, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001211/0.001211, allocations: 173 kB / 23.02 MB, free: 1.547 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.9255/0.9255, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 2.096/2.096, allocations: 429.5 MB / 0.6733 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.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.726e-06/2.726e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.365e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.003306/0.003339, allocations: 1.723 MB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.005202, allocations: 1.2 MB / 0.8811 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.005461, allocations: 8 kB / 0.8811 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.005599, allocations: 56.45 kB / 0.8811 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.005832, allocations: 68.16 kB / 0.8812 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.006281, allocations: 195.6 kB / 0.8814 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.006767, allocations: 0.5022 MB / 0.8819 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.007151, allocations: 209.2 kB / 0.8821 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.007616, allocations: 324.3 kB / 0.8824 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.007834, allocations: 147.5 kB / 0.8825 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.829e-05/0.007922, allocations: 48 kB / 0.8826 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.466e-05/0.007987, allocations: 49.28 kB / 0.8826 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.425e-05/0.008081, allocations: 107.6 kB / 0.8827 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.008213, allocations: 135.6 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.008667, allocations: 351.4 kB / 0.8832 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.008672, allocations: 0 / 0.8832 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/0.008673, allocations: 0 / 0.8832 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.008681, allocations: 3.438 kB / 0.8832 GB, free: 1.164 MB / 0.8386 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.001091/0.009773, allocations: 0.7803 MB / 0.884 GB, free: 348 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.009818, allocations: 8.031 kB / 0.884 GB, free: 340 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.009966, allocations: 100.5 kB / 0.8841 GB, free: 240 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.01039, allocations: 306 kB / 0.8843 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/0.01044, allocations: 41.97 kB / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.0105, allocations: 48.31 kB / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.0113, allocations: 409.2 kB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.01131, allocations: 192 / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.01135, allocations: 24.36 kB / 0.8848 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.01137, allocations: 12.38 kB / 0.8849 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.01179, allocations: 182.7 kB / 0.885 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.01363, allocations: 1.302 MB / 0.8863 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.01408, allocations: 245.3 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.01425, allocations: 106.8 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.01429, allocations: 8 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.01432, allocations: 45.39 kB / 0.8867 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.01433, allocations: 0 / 0.8867 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.0006463/0.01497, allocations: 280.2 kB / 0.887 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.01502, allocations: 106.8 kB / 0.8871 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.01532, allocations: 346.1 kB / 0.8874 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.01534, allocations: 33.7 kB / 0.8874 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.01551, allocations: 287.2 kB / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.786e-05/0.01559, allocations: 99.17 kB / 0.8878 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.01572, allocations: 99.66 kB / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.01589, allocations: 0.5118 MB / 0.8884 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.01602, allocations: 52.72 kB / 0.8884 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.01625, allocations: 204.8 kB / 0.8886 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.01657, allocations: 245.4 kB / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.01657, allocations: 8 kB / 0.8889 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000497/0.01707, allocations: 285 kB / 0.8891 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.01709, allocations: 8 kB / 0.8892 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.0171, allocations: 352 / 0.8892 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.01712, allocations: 15.94 kB / 0.8892 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.01745, allocations: 79.88 kB / 0.8892 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.01746, allocations: 7.938 kB / 0.8893 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.01764, allocations: 47.72 kB / 0.8893 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.01767, allocations: 19.98 kB / 0.8893 GB, free: 10.48 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (46): * Single equations (assignments): 46 * 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.0001632/0.01783, allocations: 188.5 kB / 0.8895 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.01794, allocations: 43.81 kB / 0.8895 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.018, allocations: 38.23 kB / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.01801, allocations: 7.938 kB / 0.8896 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.01802, allocations: 7.938 kB / 0.8896 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01802, allocations: 0 / 0.8896 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.0185, allocations: 300.3 kB / 0.8899 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.01851, allocations: 0 / 0.8899 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.01873, allocations: 59.89 kB / 0.8899 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.01874, allocations: 7.938 kB / 0.8899 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.01877, allocations: 15.98 kB / 0.89 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.01877, allocations: 0 / 0.89 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.01878, allocations: 7.938 kB / 0.89 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.01934, allocations: 0.5931 MB / 0.8905 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.01938, allocations: 31.75 kB / 0.8906 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.01942, allocations: 4 kB / 0.8906 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.01965, allocations: 27.91 kB / 0.8906 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.01981, allocations: 67.86 kB / 0.8907 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.01983, allocations: 11.98 kB / 0.8907 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001476/0.01998, allocations: 211 kB / 0.8909 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01998, allocations: 0 / 0.8909 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005082/0.02049, allocations: 91.62 kB / 0.891 GB, free: 8.719 MB / 0.8542 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 (35): * Single equations (assignments): 35 * 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.0001437/0.02063, allocations: 116.4 kB / 0.8911 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004201/0.02105, allocations: 210.9 kB / 0.8913 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02105, allocations: 0 / 0.8913 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.02125, allocations: 120.4 kB / 0.8914 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.02188, allocations: 69.44 kB / 0.8915 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.0232, allocations: 0.6351 MB / 0.8921 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.773e-05/0.0233, allocations: 105.1 kB / 0.8922 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002103/0.02351, allocations: 63.19 kB / 0.8922 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.02365, allocations: 52.48 kB / 0.8923 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of SimCode: time 1.573e-06/0.02365, allocations: 0 / 0.8923 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of Templates: time 0.009018/0.03267, allocations: 4.069 MB / 0.8963 GB, free: 3.324 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.331942246295512]