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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001131/0.001131, allocations: 91.92 kB / 16.02 MB, free: 80 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.001689/0.001689, allocations: 179.7 kB / 16.92 MB, free: 6.652 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.467/1.467, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.934/2.934, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003713, allocations: 10.44 kB / 0.9035 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3306, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.002233/0.3329, allocations: 1.398 MB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3346, allocations: 1.147 MB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003273/0.335, allocations: 8 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.3351, allocations: 27.66 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.3354, allocations: 31.66 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.3359, allocations: 159.9 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005923/0.3365, allocations: 468.9 kB / 1.063 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004676/0.337, allocations: 264.7 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.3372, allocations: 135.3 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.3374, allocations: 171 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-05/0.3375, allocations: 16 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.748e-05/0.3376, allocations: 16 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.3377, allocations: 75.56 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.3378, allocations: 208.4 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.3384, allocations: 0.5067 MB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3384, allocations: 0 / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3384, allocations: 0 / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.3384, allocations: 0 / 1.064 GB, free: 312 kB / 0.8106 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.001387/0.3398, allocations: 0.7057 MB / 1.065 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3399, allocations: 11.97 kB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.34, allocations: 60.22 kB / 1.065 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.3412, allocations: 0.5194 MB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.3413, allocations: 41.38 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.3413, allocations: 44.38 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.3425, allocations: 0.522 MB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3425, allocations: 8.109 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.3426, allocations: 23.94 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3426, allocations: 15.94 kB / 1.066 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.3439, allocations: 481.9 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.3456, allocations: 1.243 MB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3467, allocations: 443.7 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/0.3473, allocations: 254.5 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.3474, allocations: 4 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.3474, allocations: 42.55 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 2.345e-06/0.3474, allocations: 0 / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001952/0.3494, allocations: 0.6428 MB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.3495, allocations: 122.6 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.3497, allocations: 274.8 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.3498, allocations: 33.69 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3499, allocations: 220.2 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/0.35, allocations: 122.4 kB / 1.07 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.3501, allocations: 57.69 kB / 1.07 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3502, allocations: 346.8 kB / 1.07 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/0.3508, allocations: 184.7 kB / 1.07 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.3515, allocations: 273.7 kB / 1.07 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.3526, allocations: 455.8 kB / 1.071 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3527, allocations: 0 / 1.071 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001349/0.354, allocations: 0.5086 MB / 1.071 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.354, allocations: 8 kB / 1.071 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.3541, allocations: 4 kB / 1.071 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.3541, allocations: 4 kB / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.3546, allocations: 115.8 kB / 1.071 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3546, allocations: 4 kB / 1.071 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.355, allocations: 75.62 kB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.355, allocations: 16 kB / 1.071 GB, free: 8.137 MB / 0.8262 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.0002438/0.3553, allocations: 177.7 kB / 1.072 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.3554, allocations: 31.62 kB / 1.072 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.358e-05/0.3555, allocations: 42.2 kB / 1.072 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3555, allocations: 11.88 kB / 1.072 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3555, allocations: 0 / 1.072 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3555, allocations: 7.984 kB / 1.072 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.3561, allocations: 465 kB / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-06/0.3561, allocations: 0 / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.3565, allocations: 95.86 kB / 1.072 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3566, allocations: 4 kB / 1.072 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.3566, allocations: 11.98 kB / 1.072 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3566, allocations: 7.938 kB / 1.072 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3566, allocations: 0 / 1.072 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.3579, allocations: 0.7041 MB / 1.073 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.358, allocations: 112.6 kB / 1.073 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.3581, allocations: 8 kB / 1.073 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.3585, allocations: 59.88 kB / 1.073 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.3586, allocations: 59.92 kB / 1.073 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.3587, allocations: 15.94 kB / 1.073 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000152/0.3588, allocations: 174 kB / 1.073 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3588, allocations: 0 / 1.073 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004421/0.3593, allocations: 91.59 kB / 1.073 GB, free: 5.992 MB / 0.8262 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.0001682/0.3594, allocations: 131.8 kB / 1.074 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.3608, allocations: 461.7 kB / 1.074 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3608, allocations: 4 kB / 1.074 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006519/0.3614, allocations: 251.7 kB / 1.074 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.3621, allocations: 47.12 kB / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3634, allocations: 0.8841 MB / 1.075 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3638, allocations: 0.8156 MB / 1.076 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3639, allocations: 39.42 kB / 1.076 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3639, allocations: 0 / 1.076 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of Templates: time 0.007088/0.371, allocations: 4.788 MB / 1.081 GB, free: 14.54 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/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