Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_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=5000,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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 405.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.00118, allocations: 181 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.2 MB / 0.7949 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008502/0.0008502, allocations: 108 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 14.52 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2966, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2563/0.553, allocations: 150.9 MB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.5534, allocations: 79.94 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02343/0.5768, allocations: 6.063 MB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5769, allocations: 0 / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.751e-05/0.5769, allocations: 12 kB / 1.376 GB, free: 4.977 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002079/0.579, allocations: 0.7132 MB / 1.377 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5791, allocations: 11.97 kB / 1.377 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.5793, allocations: 55.34 kB / 1.377 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.5796, allocations: 230.3 kB / 1.377 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.716e-05/0.5797, allocations: 45 kB / 1.377 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.5798, allocations: 44 kB / 1.377 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.5817, allocations: 0.5408 MB / 1.378 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5817, allocations: 0 / 1.378 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.5818, allocations: 20 kB / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.5818, allocations: 12 kB / 1.378 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.584, allocations: 0.5247 MB / 1.378 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.587, allocations: 1.29 MB / 1.38 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.5885, allocations: 463.8 kB / 1.38 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.5886, allocations: 12.42 kB / 1.38 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.5887, allocations: 42.5 kB / 1.38 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.5887, allocations: 0 / 1.38 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.003117/0.5918, allocations: 0.7251 MB / 1.381 GB, free: 60 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.5919, allocations: 114.8 kB / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.5924, allocations: 271.5 kB / 1.381 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.5924, allocations: 37.7 kB / 1.381 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.5926, allocations: 208.5 kB / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.5928, allocations: 118.3 kB / 1.382 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.5928, allocations: 4 kB / 1.382 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.5931, allocations: 347.6 kB / 1.382 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009374/0.594, allocations: 208.5 kB / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009755/0.595, allocations: 245 kB / 1.382 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008735/0.5959, allocations: 201.2 kB / 1.383 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5959, allocations: 0 / 1.383 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002051/0.598, allocations: 0.5134 MB / 1.383 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.598, allocations: 4 kB / 1.383 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.598, allocations: 8 kB / 1.383 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.5981, allocations: 3.953 kB / 1.383 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007798/0.5989, allocations: 107.8 kB / 1.383 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.5989, allocations: 0 / 1.383 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.5994, allocations: 79.62 kB / 1.383 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.5995, allocations: 12 kB / 1.383 GB, free: 13.55 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002792/0.5998, allocations: 161.8 kB / 1.383 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.6, allocations: 39.53 kB / 1.383 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.6001, allocations: 42.36 kB / 1.383 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.6001, allocations: 4 kB / 1.383 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6002, allocations: 3.953 kB / 1.383 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.6002, allocations: 3.984 kB / 1.384 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.6012, allocations: 481.1 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.6012, allocations: 4 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/0.6019, allocations: 103.8 kB / 1.384 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.602, allocations: 4 kB / 1.384 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.602, allocations: 8 kB / 1.384 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.602, allocations: 3.938 kB / 1.384 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.602, allocations: 4 kB / 1.384 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.6042, allocations: 0.7922 MB / 1.385 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.6044, allocations: 120.6 kB / 1.385 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.6045, allocations: 7.953 kB / 1.385 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007041/0.6052, allocations: 55.95 kB / 1.385 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.6054, allocations: 67.91 kB / 1.385 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.6055, allocations: 8 kB / 1.385 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002992/0.6058, allocations: 207.1 kB / 1.385 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6058, allocations: 0 / 1.385 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007583/0.6066, allocations: 79.84 kB / 1.385 GB, free: 11.28 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002422/0.6068, allocations: 133.7 kB / 1.386 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.6089, allocations: 0.4893 MB / 1.386 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6089, allocations: 4 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.6101, allocations: 292.6 kB / 1.386 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.6108, allocations: 40.58 kB / 1.386 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.6128, allocations: 0.815 MB / 1.387 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.6133, allocations: 0.8197 MB / 1.388 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.6137, allocations: 38.27 kB / 1.388 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.6139, allocations: 35.42 kB / 1.388 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of SimCode: time 7.61e-07/0.6139, allocations: 0 / 1.388 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of Templates: time 0.01106/0.625, allocations: 3.756 MB / 1.392 GB, free: 4.855 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches