Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001664/0.001664, allocations: 105 kB / 16.27 MB, free: 6.414 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.001853/0.001853, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.568/1.568, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437 MB / 0.711 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 64.47 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3392, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.003535/0.3428, allocations: 1.763 MB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3446, allocations: 1.159 MB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.3449, allocations: 8 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.3452, allocations: 55.27 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.3455, allocations: 51.41 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.3459, allocations: 179.8 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005665/0.3465, allocations: 0.4964 MB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004951/0.347, allocations: 276.6 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.3473, allocations: 199.2 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.3476, allocations: 238.9 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.3477, allocations: 60 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.3478, allocations: 60 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3479, allocations: 119.5 kB / 1.023 GB, free: 6 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.3481, allocations: 238.7 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006088/0.3487, allocations: 0.6543 MB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3488, allocations: 0 / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3488, allocations: 0 / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.3488, allocations: 0 / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001524/0.3503, allocations: 0.7601 MB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3504, allocations: 8.922 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.3505, allocations: 56.28 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.3518, allocations: 487.9 kB / 1.025 GB, free: 3.715 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.3518, allocations: 41.36 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.3519, allocations: 44.38 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.353, allocations: 0.4906 MB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3531, allocations: 192 / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.3531, allocations: 27.88 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.3531, allocations: 12 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.3545, allocations: 421.4 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.3563, allocations: 1.243 MB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.3574, allocations: 395.6 kB / 1.027 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.358, allocations: 230.4 kB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.3581, allocations: 4 kB / 1.027 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3581, allocations: 42.55 kB / 1.028 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.3582, allocations: 0 / 1.028 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.001981/0.3601, allocations: 0.5698 MB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.3602, allocations: 114.7 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.3605, allocations: 286.7 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.3606, allocations: 29.7 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.3607, allocations: 216.3 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3609, allocations: 114.3 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.361, allocations: 98.05 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3612, allocations: 346.8 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/0.3617, allocations: 160.7 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.3624, allocations: 245.7 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.3636, allocations: 393.8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.3636, allocations: 8 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001422/0.365, allocations: 463.1 kB / 1.03 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3651, allocations: 7.984 kB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3651, allocations: 4 kB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.3651, allocations: 4 kB / 1.03 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.3657, allocations: 100 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.3657, allocations: 11.94 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.3661, allocations: 55.64 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.3661, allocations: 23.92 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (reaToInt2.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 (48): * Single equations (assignments): 48 * 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.0002899/0.3664, allocations: 181.7 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3665, allocations: 27.62 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.3666, allocations: 42.2 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3666, allocations: 4 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.3667, allocations: 7.938 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3667, allocations: 3.984 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.3674, allocations: 453.1 kB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3674, allocations: 0 / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/0.3678, allocations: 87.86 kB / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3678, allocations: 0 / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.3679, allocations: 8 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.3679, allocations: 8 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3679, allocations: 3.938 kB / 1.031 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.3693, allocations: 0.661 MB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.3694, allocations: 108.7 kB / 1.032 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.3694, allocations: 12 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.3698, allocations: 35.95 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.37, allocations: 63.86 kB / 1.032 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.37, allocations: 12 kB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001764/0.3702, allocations: 178 kB / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3702, allocations: 0 / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004803/0.3707, allocations: 95.53 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.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 (40): * Single equations (assignments): 40 * 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.0001822/0.3709, allocations: 119.2 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.3723, allocations: 427.3 kB / 1.033 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3723, allocations: 3.938 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.373, allocations: 230.6 kB / 1.033 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.3736, allocations: 43.34 kB / 1.033 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.375, allocations: 0.7176 MB / 1.034 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3755, allocations: 0.8115 MB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3756, allocations: 47.42 kB / 1.035 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3756, allocations: 0 / 1.035 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of Templates: time 0.008198/0.3838, allocations: 4.728 MB / 1.04 GB, free: 4.129 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches