Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008416/0.0008419, allocations: 92.78 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.001038/0.001038, allocations: 180.1 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.457/1.457, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.534/2.534, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005357/0.0005356, allocations: 8 kB / 0.8167 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.8745, allocations: 142.4 MB / 0.9558 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.001923/0.8765, allocations: 1.394 MB / 0.9571 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.8777, allocations: 1.119 MB / 0.9582 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.8779, allocations: 6.531 kB / 0.9582 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.968e-05/0.878, allocations: 35.64 kB / 0.9583 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.8781, allocations: 33.06 kB / 0.9583 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.8785, allocations: 153.6 kB / 0.9584 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.8789, allocations: 465.4 kB / 0.9589 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.8792, allocations: 265.7 kB / 0.9591 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.8794, allocations: 127.5 kB / 0.9593 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.8796, allocations: 172.8 kB / 0.9594 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.8796, allocations: 14.56 kB / 0.9594 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.41e-05/0.8796, allocations: 14.47 kB / 0.9594 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.8797, allocations: 73.92 kB / 0.9595 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.8798, allocations: 197.4 kB / 0.9597 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.8802, allocations: 0.501 MB / 0.9602 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.8802, allocations: 4 kB / 0.9602 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8802, allocations: 0 / 0.9602 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.8802, allocations: 1.375 kB / 0.9602 GB, free: 4.289 MB / 0.7169 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.001066/0.8813, allocations: 0.7035 MB / 0.9609 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.8813, allocations: 9.625 kB / 0.9609 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.638e-05/0.8814, allocations: 57.03 kB / 0.961 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.8825, allocations: 0.5218 MB / 0.9615 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.8825, allocations: 38.75 kB / 0.9615 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.8826, allocations: 45.09 kB / 0.9615 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.8837, allocations: 0.5228 MB / 0.9621 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.8837, allocations: 3.984 kB / 0.9621 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.8837, allocations: 20.12 kB / 0.9621 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.8838, allocations: 12.38 kB / 0.9621 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.885, allocations: 472.3 kB / 0.9625 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.8865, allocations: 1.232 MB / 0.9637 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.8874, allocations: 421.1 kB / 0.9641 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.888, allocations: 249.6 kB / 0.9644 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.888, allocations: 8.969 kB / 0.9644 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.8881, allocations: 40 kB / 0.9644 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.683e-06/0.8881, allocations: 1.406 kB / 0.9644 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001902/0.89, allocations: 0.6498 MB / 0.9651 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.89, allocations: 105.5 kB / 0.9652 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.8902, allocations: 277.7 kB / 0.9654 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.8903, allocations: 39.66 kB / 0.9655 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.8904, allocations: 215.6 kB / 0.9657 GB, free: 420 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/0.8905, allocations: 121.3 kB / 0.9658 GB, free: 312 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.8905, allocations: 59.34 kB / 0.9658 GB, free: 268 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8907, allocations: 346.8 kB / 0.9662 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005865/0.8913, allocations: 188.4 kB / 0.9664 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.8919, allocations: 275.5 kB / 0.9666 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.8931, allocations: 435.8 kB / 0.967 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8931, allocations: 1.062 kB / 0.967 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001402/0.8945, allocations: 0.5145 MB / 0.9675 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.8945, allocations: 7.312 kB / 0.9675 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8946, allocations: 3.25 kB / 0.9675 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.8946, allocations: 16.59 kB / 0.9676 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.8951, allocations: 101.6 kB / 0.9677 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.8951, allocations: 9.016 kB / 0.9677 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.8955, allocations: 79.55 kB / 0.9677 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.8955, allocations: 16.38 kB / 0.9678 GB, free: 15.08 MB / 0.7325 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.0002315/0.8958, allocations: 170.4 kB / 0.9679 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.8959, allocations: 34.81 kB / 0.968 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.177e-05/0.896, allocations: 45.48 kB / 0.968 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.896, allocations: 5.062 kB / 0.968 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.896, allocations: 1.031 kB / 0.968 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.896, allocations: 4.984 kB / 0.968 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.8967, allocations: 448.9 kB / 0.9684 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8967, allocations: 0 / 0.9684 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.8971, allocations: 95.11 kB / 0.9685 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.8971, allocations: 1.875 kB / 0.9685 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.8972, allocations: 15.03 kB / 0.9685 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.8972, allocations: 6.047 kB / 0.9685 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8972, allocations: 1.219 kB / 0.9685 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.8986, allocations: 0.7024 MB / 0.9692 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.8987, allocations: 114.8 kB / 0.9693 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.8987, allocations: 10.62 kB / 0.9694 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.8991, allocations: 46.92 kB / 0.9694 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.8993, allocations: 68.64 kB / 0.9695 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.8993, allocations: 16.67 kB / 0.9695 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001701/0.8995, allocations: 176.5 kB / 0.9696 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8995, allocations: 0 / 0.9696 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004524/0.8999, allocations: 90.03 kB / 0.9697 GB, free: 13.62 MB / 0.7325 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.0001559/0.9001, allocations: 118.2 kB / 0.9698 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.9014, allocations: 458 kB / 0.9703 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9014, allocations: 0 / 0.9703 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006658/0.9021, allocations: 252.2 kB / 0.9705 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.9027, allocations: 50.95 kB / 0.9706 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.9041, allocations: 0.8819 MB / 0.9714 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.9045, allocations: 0.8127 MB / 0.9722 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.9047, allocations: 37.08 kB / 0.9723 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.9047, allocations: 0 / 0.9723 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of Templates: time 0.009142/0.9138, allocations: 4.659 MB / 0.9768 GB, free: 9.383 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches