Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009781/0.0009782, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007888/0.007889, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.892/2.892, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003767, allocations: 10.53 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3645, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.002552/0.3671, allocations: 1.402 MB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.3695, allocations: 1.135 MB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006084/0.3702, allocations: 8 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.3704, allocations: 31.64 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.3708, allocations: 35.67 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006443/0.3715, allocations: 163.9 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000577/0.3721, allocations: 469 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005671/0.3726, allocations: 268.7 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.3729, allocations: 131.2 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.3731, allocations: 171 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.3731, allocations: 16 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.953e-05/0.3732, allocations: 16 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.3733, allocations: 67.62 kB / 1.063 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.3735, allocations: 204.4 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.3741, allocations: 0.6151 MB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3741, allocations: 3.938 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3741, allocations: 0 / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.3742, allocations: 4 kB / 1.063 GB, free: 0.7305 MB / 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.001397/0.3756, allocations: 0.7058 MB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3756, allocations: 8.031 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.584e-05/0.3757, allocations: 56.27 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.377, allocations: 0.5273 MB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.377, allocations: 37.38 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.3771, allocations: 44.38 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.3783, allocations: 0.5298 MB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3783, allocations: 4.188 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.3784, allocations: 19.94 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.3784, allocations: 12 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.3797, allocations: 473.9 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.3815, allocations: 1.255 MB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.3825, allocations: 435.8 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/0.3832, allocations: 254.4 kB / 1.068 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.3833, allocations: 7.984 kB / 1.068 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3833, allocations: 38.5 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.804e-06/0.3833, allocations: 4 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.002018/0.3853, allocations: 0.6506 MB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.3855, allocations: 114.8 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.3858, allocations: 278.8 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.3858, allocations: 37.7 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.386, allocations: 212.2 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.3861, allocations: 122.3 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.3862, allocations: 65.67 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3863, allocations: 338.8 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.3869, allocations: 188.7 kB / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.3876, allocations: 281.6 kB / 1.07 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.3888, allocations: 443.6 kB / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3888, allocations: 0 / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001343/0.3901, allocations: 0.5171 MB / 1.071 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3902, allocations: 9.562 kB / 1.071 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3902, allocations: 0 / 1.071 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3902, allocations: 4 kB / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.3907, allocations: 116 kB / 1.071 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.3907, allocations: 7.984 kB / 1.071 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.3911, allocations: 75.64 kB / 1.071 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.3911, allocations: 19.94 kB / 1.071 GB, free: 8.559 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.0002589/0.3914, allocations: 179.2 kB / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.3915, allocations: 35.61 kB / 1.071 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.41e-05/0.3916, allocations: 34.22 kB / 1.071 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.3916, allocations: 15.92 kB / 1.071 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3916, allocations: 0 / 1.071 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3916, allocations: 0 / 1.071 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.3923, allocations: 453 kB / 1.072 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.3923, allocations: 7.984 kB / 1.072 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.3927, allocations: 95.86 kB / 1.072 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.3927, allocations: 4 kB / 1.072 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3927, allocations: 8 kB / 1.072 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3928, allocations: 3.938 kB / 1.072 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3928, allocations: 4 kB / 1.072 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.3941, allocations: 0.7134 MB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.3942, allocations: 116.6 kB / 1.073 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.3942, allocations: 4 kB / 1.073 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.3946, allocations: 55.89 kB / 1.073 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.3948, allocations: 59.92 kB / 1.073 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.3948, allocations: 11.98 kB / 1.073 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000158/0.395, allocations: 182 kB / 1.073 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.395, allocations: 3.938 kB / 1.073 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004339/0.3954, allocations: 91.59 kB / 1.073 GB, free: 6.418 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.0001597/0.3956, allocations: 111.9 kB / 1.073 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.3969, allocations: 475.7 kB / 1.074 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3969, allocations: 0 / 1.074 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/0.3976, allocations: 263.6 kB / 1.074 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.3982, allocations: 51.83 kB / 1.074 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3995, allocations: 0.8549 MB / 1.075 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3999, allocations: 0.8157 MB / 1.075 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002812/0.4002, allocations: 59.25 kB / 1.075 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4003, allocations: 31.44 kB / 1.076 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4004, allocations: 0 / 1.076 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of Templates: time 0.007444/0.4078, allocations: 3.384 MB / 1.079 GB, free: 396 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches