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.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_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=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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001328, allocations: 108.6 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 185.6 kB / 17.34 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.498/2.498, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8393/0.8406, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.002903/0.8435, allocations: 1.754 MB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.8449, allocations: 1.159 MB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.845, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.8452, allocations: 55.28 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.8453, allocations: 59.34 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.8457, allocations: 187.7 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00041/0.8461, allocations: 0.5009 MB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.8465, allocations: 284.7 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.8467, allocations: 203.2 kB / 1.213 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.847, allocations: 242.9 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.491e-05/0.847, allocations: 60 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.443e-05/0.8471, allocations: 56 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.724e-05/0.8472, allocations: 123.6 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.8474, allocations: 238.7 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.8479, allocations: 0.6904 MB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8479, allocations: 3.938 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8479, allocations: 0 / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.848, allocations: 4 kB / 1.214 GB, free: 7.996 MB / 0.9356 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.001296/0.8493, allocations: 0.764 MB / 1.215 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.8493, allocations: 8.031 kB / 1.215 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.8494, allocations: 56.28 kB / 1.215 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.8505, allocations: 491.9 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.8506, allocations: 45.38 kB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/0.8507, allocations: 40.38 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.8517, allocations: 0.4986 MB / 1.216 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.8518, allocations: 8.188 kB / 1.216 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.8518, allocations: 19.94 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.8518, allocations: 8 kB / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.853, allocations: 429.9 kB / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.8547, allocations: 1.236 MB / 1.217 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/0.8556, allocations: 407.8 kB / 1.218 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.8562, allocations: 232.1 kB / 1.218 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.8562, allocations: 4 kB / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.8563, allocations: 34.56 kB / 1.218 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=41): time 2.064e-06/0.8563, allocations: 0 / 1.218 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=41): time 0.001779/0.8581, allocations: 0.5751 MB / 1.219 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.8581, allocations: 110.8 kB / 1.219 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.8584, allocations: 286.7 kB / 1.219 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.8584, allocations: 37.7 kB / 1.219 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.8586, allocations: 212.2 kB / 1.219 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.8587, allocations: 122.3 kB / 1.219 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.8588, allocations: 102.1 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8589, allocations: 338.8 kB / 1.22 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/0.8595, allocations: 164.7 kB / 1.22 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.8601, allocations: 257.5 kB / 1.22 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.8611, allocations: 386.9 kB / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8611, allocations: 0 / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001238/0.8624, allocations: 483.6 kB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.8624, allocations: 8 kB / 1.221 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8624, allocations: 0 / 1.221 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.8624, allocations: 8 kB / 1.221 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.8629, allocations: 100 kB / 1.221 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.863, allocations: 11.98 kB / 1.221 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.8633, allocations: 59.64 kB / 1.221 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.8633, allocations: 16 kB / 1.221 GB, free: 188 kB / 0.9356 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.0002539/0.8636, allocations: 175.2 kB / 1.221 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.8637, allocations: 31.8 kB / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/0.8638, allocations: 42.2 kB / 1.221 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.8638, allocations: 7.938 kB / 1.221 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.8638, allocations: 0 / 1.221 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.8638, allocations: 7.984 kB / 1.221 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.8644, allocations: 465 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.8644, allocations: 0 / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.8648, allocations: 83.86 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.8648, allocations: 7.984 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.8649, allocations: 12 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.8649, allocations: 3.938 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8649, allocations: 0 / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.8661, allocations: 0.6687 MB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.8662, allocations: 108.7 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.8662, allocations: 8 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.8666, allocations: 43.89 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.8668, allocations: 55.94 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.8668, allocations: 11.98 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001403/0.8669, allocations: 182 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8669, allocations: 0 / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004109/0.8673, allocations: 95.53 kB / 1.223 GB, free: 14.1 MB / 0.9512 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.0001417/0.8675, allocations: 115.2 kB / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.8687, allocations: 419.7 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8687, allocations: 4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.8693, allocations: 223.7 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.8698, allocations: 52.8 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.871, allocations: 0.7035 MB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.8713, allocations: 0.8154 MB / 1.225 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.8715, allocations: 47.42 kB / 1.225 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.8715, allocations: 0 / 1.225 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of Templates: time 0.006393/0.8779, allocations: 4.875 MB / 1.23 GB, free: 6.816 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) 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/jenkins1/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) Reference file matches