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.001565/0.001565, allocations: 117.7 kB / 16.37 MB, free: 6 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.001781/0.001781, allocations: 193.5 kB / 17.31 MB, free: 5.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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.548/2.548, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 68.02 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3596, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.00341/0.363, allocations: 1.778 MB / 1.029 GB, free: 248 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3648, allocations: 1.159 MB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.365, allocations: 8 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.3651, allocations: 55.22 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.3653, allocations: 55.34 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.3657, allocations: 191.7 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.3662, allocations: 0.4893 MB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.3667, allocations: 288.7 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.3669, allocations: 203.2 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.3672, allocations: 242.8 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.3673, allocations: 56 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-05/0.3674, allocations: 60 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.3675, allocations: 123.6 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.3677, allocations: 234.7 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006748/0.3684, allocations: 0.6966 MB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3684, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3684, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3684, allocations: 0 / 1.032 GB, free: 12.39 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.001297/0.3697, allocations: 0.7563 MB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3698, allocations: 8.031 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.169e-05/0.3699, allocations: 60.27 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.371, allocations: 495.8 kB / 1.034 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.3711, allocations: 41.38 kB / 1.034 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.3712, allocations: 44.38 kB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3722, allocations: 0.4986 MB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3722, allocations: 192 / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.3723, allocations: 27.94 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.3723, allocations: 12 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.3735, allocations: 425.9 kB / 1.035 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.3752, allocations: 1.235 MB / 1.036 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.3762, allocations: 419.7 kB / 1.036 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.3768, allocations: 226.5 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.3769, allocations: 4 kB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3769, allocations: 42.5 kB / 1.036 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=41): time 3.166e-06/0.3769, allocations: 0 / 1.036 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=41): time 0.001673/0.3786, allocations: 0.5727 MB / 1.037 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.3787, allocations: 114.8 kB / 1.037 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.379, allocations: 282.7 kB / 1.037 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.379, allocations: 29.7 kB / 1.037 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.3792, allocations: 224.2 kB / 1.038 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.3793, allocations: 114.4 kB / 1.038 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.3794, allocations: 94.11 kB / 1.038 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3796, allocations: 346.8 kB / 1.038 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.3801, allocations: 160.7 kB / 1.038 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.3806, allocations: 249.6 kB / 1.039 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009936/0.3816, allocations: 407.7 kB / 1.039 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3816, allocations: 0 / 1.039 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001175/0.3828, allocations: 471.1 kB / 1.039 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3829, allocations: 4 kB / 1.039 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3829, allocations: 4 kB / 1.039 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3829, allocations: 4 kB / 1.039 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.3834, allocations: 104 kB / 1.039 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3834, allocations: 7.938 kB / 1.039 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.3837, allocations: 67.53 kB / 1.04 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.3837, allocations: 12 kB / 1.04 GB, free: 4.582 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: 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.0001983/0.3839, allocations: 181.7 kB / 1.04 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3841, allocations: 31.62 kB / 1.04 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.117e-05/0.3841, allocations: 38.2 kB / 1.04 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3842, allocations: 11.94 kB / 1.04 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.3842, allocations: 4 kB / 1.04 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3842, allocations: 3.984 kB / 1.04 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006528/0.3848, allocations: 457.2 kB / 1.04 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3849, allocations: 0 / 1.04 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.3853, allocations: 87.86 kB / 1.04 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.3853, allocations: 0 / 1.04 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.3853, allocations: 11.98 kB / 1.04 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.3853, allocations: 11.88 kB / 1.04 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3853, allocations: 0 / 1.04 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.3865, allocations: 0.6573 MB / 1.041 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.3865, allocations: 112.6 kB / 1.041 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.3866, allocations: 15.92 kB / 1.041 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.3869, allocations: 39.89 kB / 1.041 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.3871, allocations: 55.94 kB / 1.041 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.3871, allocations: 19.98 kB / 1.041 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00016/0.3873, allocations: 170 kB / 1.041 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.404e-06/0.3873, allocations: 4 kB / 1.041 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004557/0.3878, allocations: 95.53 kB / 1.041 GB, free: 2.504 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: 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.0001678/0.3879, allocations: 120.7 kB / 1.042 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.3891, allocations: 416 kB / 1.042 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3891, allocations: 0 / 1.042 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.3897, allocations: 247.6 kB / 1.042 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.3903, allocations: 50.28 kB / 1.042 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3916, allocations: 0.678 MB / 1.043 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.392, allocations: 0.8076 MB / 1.044 GB, free: 124 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002371/0.3922, allocations: 63.25 kB / 1.044 GB, free: 64 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3923, allocations: 47.42 kB / 1.044 GB, free: 16 kB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3923, allocations: 3.938 kB / 1.044 GB, free: 12 kB / 0.8106 GB Notification: Performance of Templates: time 0.008152/0.4005, allocations: 3.911 MB / 1.048 GB, free: 12.17 MB / 0.8262 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 -s cvode -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