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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001854/0.001854, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003045/0.003045, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 62.16 kB / 0.9121 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4424, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.003536/0.446, allocations: 1.768 MB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.4477, allocations: 1.166 MB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.4479, allocations: 4 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.4481, allocations: 55.27 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.4483, allocations: 59.34 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.4487, allocations: 179.7 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.4492, allocations: 0.497 MB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.4497, allocations: 288.7 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.4499, allocations: 199.3 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.4502, allocations: 242.8 kB / 1.073 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.339e-05/0.4503, allocations: 56 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-05/0.4503, allocations: 60 kB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.4504, allocations: 123.6 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.4506, allocations: 242.6 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005924/0.4512, allocations: 0.666 MB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4513, allocations: 0 / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4513, allocations: 0 / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.4513, allocations: 0 / 1.074 GB, free: 4.781 MB / 0.8262 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.001329/0.4526, allocations: 0.7679 MB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4527, allocations: 8.031 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.792e-05/0.4528, allocations: 56.28 kB / 1.075 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.454, allocations: 487.9 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.454, allocations: 41.38 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.4541, allocations: 44.38 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.4551, allocations: 0.4986 MB / 1.076 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4552, allocations: 192 / 1.076 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.4552, allocations: 23.94 kB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.4552, allocations: 12 kB / 1.076 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.4565, allocations: 426.4 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.4581, allocations: 1.251 MB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009525/0.4591, allocations: 419.6 kB / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.4597, allocations: 226.5 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.4598, allocations: 7.984 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.4598, allocations: 38.56 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 4.688e-06/0.4598, allocations: 3.984 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.00188/0.4617, allocations: 0.5651 MB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.4618, allocations: 118.7 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.4621, allocations: 278.7 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.4621, allocations: 37.7 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.4623, allocations: 220.2 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.806e-05/0.4624, allocations: 114.4 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.4625, allocations: 98.05 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4627, allocations: 346.8 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/0.4632, allocations: 164.7 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.4638, allocations: 249.6 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.465, allocations: 395.3 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.465, allocations: 4 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001313/0.4663, allocations: 470.4 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4663, allocations: 7.984 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4663, allocations: 4 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.4664, allocations: 4 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.4669, allocations: 99.98 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4669, allocations: 8 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.4672, allocations: 63.64 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.4673, allocations: 19.98 kB / 1.081 GB, free: 12.96 MB / 0.8419 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.0002996/0.4676, allocations: 181.7 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4677, allocations: 27.62 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.713e-05/0.4678, allocations: 42.2 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4678, allocations: 11.88 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4678, allocations: 4 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4678, allocations: 3.984 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.4685, allocations: 457.1 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.4685, allocations: 4 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.4689, allocations: 79.86 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4689, allocations: 4 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.4689, allocations: 12 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.4689, allocations: 7.922 kB / 1.082 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.469, allocations: 4 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.4702, allocations: 0.6609 MB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.4703, allocations: 112.6 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.4704, allocations: 8 kB / 1.083 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.4707, allocations: 43.88 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.4709, allocations: 59.94 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.4709, allocations: 12 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001732/0.4711, allocations: 178 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4711, allocations: 0 / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004782/0.4716, allocations: 95.59 kB / 1.083 GB, free: 10.88 MB / 0.8419 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.0001703/0.4718, allocations: 115.2 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.4731, allocations: 439.2 kB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4731, allocations: 0 / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.4737, allocations: 236.2 kB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.4743, allocations: 53.89 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.4756, allocations: 0.6944 MB / 1.084 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.476, allocations: 0.8154 MB / 1.085 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002626/0.4763, allocations: 55.27 kB / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.4764, allocations: 43.42 kB / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of SimCode: time 6.11e-07/0.4764, allocations: 3.938 kB / 1.085 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of Templates: time 0.008265/0.4847, allocations: 3.911 MB / 1.089 GB, free: 4.527 MB / 0.8419 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/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) Reference file matches