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.001213/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001263/0.001263, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.611/1.611, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.22 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3899, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.003882/0.3938, allocations: 1.796 MB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.3957, allocations: 1.143 MB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.3958, allocations: 8 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.396, allocations: 31.64 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.3962, allocations: 31.67 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.3966, allocations: 163.9 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.397, allocations: 469 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005054/0.3975, allocations: 280.7 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.3978, allocations: 167.2 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.398, allocations: 230.8 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.3981, allocations: 32 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.3981, allocations: 28 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3983, allocations: 99.58 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.3985, allocations: 206.7 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006296/0.3991, allocations: 0.6347 MB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.3991, allocations: 8 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3991, allocations: 0 / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.3991, allocations: 4 kB / 1.073 GB, free: 5.531 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.001479/0.4006, allocations: 0.7562 MB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4007, allocations: 8.031 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.4008, allocations: 56.28 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.402, allocations: 495.9 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.402, allocations: 45.36 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.4021, allocations: 44.38 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.4031, allocations: 0.4986 MB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4032, allocations: 4.188 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.4032, allocations: 23.94 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.4032, allocations: 12 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.4044, allocations: 429.8 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.4062, allocations: 1.251 MB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009079/0.4071, allocations: 407.8 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.4077, allocations: 222.4 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.645e-05/0.4078, allocations: 11.98 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4078, allocations: 46.55 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.4078, allocations: 0 / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001732/0.4096, allocations: 0.5689 MB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.4097, allocations: 110.8 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.4099, allocations: 282.7 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.41, allocations: 33.7 kB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.4101, allocations: 220.2 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/0.4102, allocations: 122.3 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.4104, allocations: 90.11 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4105, allocations: 346.8 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.411, allocations: 164.7 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.4116, allocations: 249.6 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009937/0.4126, allocations: 399.1 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4126, allocations: 0 / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001142/0.4137, allocations: 466.4 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4138, allocations: 4.25 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4138, allocations: 8 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.4138, allocations: 7.984 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.4143, allocations: 103.7 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4143, allocations: 7.938 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.4146, allocations: 59.64 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.4146, allocations: 19.98 kB / 1.08 GB, free: 13.7 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.0002796/0.4149, allocations: 173.7 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.415, allocations: 35.62 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.826e-05/0.4151, allocations: 38.2 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4151, allocations: 11.94 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4152, allocations: 4 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4152, allocations: 3.984 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.4158, allocations: 457.1 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4158, allocations: 4 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.4162, allocations: 83.86 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4162, allocations: 0 / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.4162, allocations: 8 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4162, allocations: 7.875 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4162, allocations: 7.984 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.4174, allocations: 0.6572 MB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.4175, allocations: 112.6 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.4176, allocations: 8 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.4179, allocations: 43.88 kB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.4181, allocations: 59.92 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.4181, allocations: 16 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001683/0.4183, allocations: 178 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4183, allocations: 0 / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004569/0.4188, allocations: 87.59 kB / 1.082 GB, free: 11.64 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.000248/0.419, allocations: 123.2 kB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.4202, allocations: 427.9 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4202, allocations: 0 / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.4208, allocations: 234.2 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.4214, allocations: 56.84 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4227, allocations: 0.8382 MB / 1.084 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.4232, allocations: 0.8162 MB / 1.084 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002687/0.4234, allocations: 55.27 kB / 1.084 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.4236, allocations: 35.42 kB / 1.084 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.4236, allocations: 0 / 1.084 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of Templates: time 0.007452/0.431, allocations: 3.413 MB / 1.088 GB, free: 5.652 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