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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001824/0.001824, allocations: 105.2 kB / 15.98 MB, free: 6.355 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.002058/0.002058, allocations: 197 kB / 16.91 MB, free: 6.188 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.2 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2935, allocations: 140.4 MB / 0.9498 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.003103/0.2967, allocations: 1.795 MB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.2983, allocations: 1.127 MB / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.2986, allocations: 4 kB / 0.9527 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.2988, allocations: 31.64 kB / 0.9527 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.2991, allocations: 43.66 kB / 0.9528 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.2995, allocations: 151.9 kB / 0.9529 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.3001, allocations: 0.4886 MB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.3005, allocations: 284.5 kB / 0.9536 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.3008, allocations: 191.3 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.3011, allocations: 242.8 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.3012, allocations: 59.94 kB / 0.9541 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.3013, allocations: 56 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3014, allocations: 127.6 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.3016, allocations: 230.7 kB / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.3021, allocations: 0.5225 MB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3021, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3021, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.3021, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 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.00147/0.3036, allocations: 0.7601 MB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3037, allocations: 8.031 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3038, allocations: 56.28 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.305, allocations: 491.8 kB / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.305, allocations: 41.38 kB / 0.9563 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.3051, allocations: 44.38 kB / 0.9564 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3062, allocations: 0.494 MB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3062, allocations: 3.938 kB / 0.9569 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.3063, allocations: 24 kB / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.3063, allocations: 12 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.3075, allocations: 417.4 kB / 0.9573 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.3092, allocations: 1.231 MB / 0.9585 GB, free: 56 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009242/0.3102, allocations: 395.8 kB / 0.9589 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.3108, allocations: 222.5 kB / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.3108, allocations: 8 kB / 0.9591 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3108, allocations: 38.56 kB / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.3109, allocations: 0 / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.001747/0.3126, allocations: 0.5732 MB / 0.9597 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.3127, allocations: 110.8 kB / 0.9598 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.313, allocations: 282.8 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.313, allocations: 33.7 kB / 0.9601 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3131, allocations: 212.2 kB / 0.9603 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.3132, allocations: 122.3 kB / 0.9604 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.3134, allocations: 98.11 kB / 0.9605 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3135, allocations: 338.8 kB / 0.9608 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.314, allocations: 156.7 kB / 0.961 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.3146, allocations: 253.7 kB / 0.9612 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3156, allocations: 393.7 kB / 0.9616 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3157, allocations: 4 kB / 0.9616 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001221/0.3169, allocations: 471.5 kB / 0.9621 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3169, allocations: 8 kB / 0.9621 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3169, allocations: 0 / 0.9621 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3169, allocations: 7.938 kB / 0.9621 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.3174, allocations: 104 kB / 0.9622 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3175, allocations: 4 kB / 0.9622 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.3178, allocations: 63.62 kB / 0.9622 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.3178, allocations: 12 kB / 0.9622 GB, free: 12.03 MB / 0.7481 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.0002911/0.3181, allocations: 177.7 kB / 0.9624 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3182, allocations: 31.62 kB / 0.9624 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.952e-05/0.3183, allocations: 42.14 kB / 0.9625 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3183, allocations: 8 kB / 0.9625 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.3184, allocations: 0 / 0.9625 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3184, allocations: 3.984 kB / 0.9625 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.319, allocations: 453 kB / 0.9629 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.319, allocations: 4 kB / 0.9629 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.3195, allocations: 83.86 kB / 0.963 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.3195, allocations: 4 kB / 0.963 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.3195, allocations: 7.938 kB / 0.963 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3195, allocations: 4 kB / 0.963 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3195, allocations: 0 / 0.963 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.3208, allocations: 0.661 MB / 0.9637 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.3208, allocations: 112.6 kB / 0.9638 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.3209, allocations: 15.88 kB / 0.9638 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.3213, allocations: 39.95 kB / 0.9638 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.3214, allocations: 55.94 kB / 0.9639 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.3215, allocations: 11.98 kB / 0.9639 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001534/0.3216, allocations: 178 kB / 0.9641 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3216, allocations: 4 kB / 0.9641 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004564/0.3221, allocations: 91.53 kB / 0.9642 GB, free: 9.973 MB / 0.7481 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.0001502/0.3223, allocations: 124.1 kB / 0.9643 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.3235, allocations: 431.9 kB / 0.9647 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3235, allocations: 4 kB / 0.9647 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.3242, allocations: 215.7 kB / 0.9649 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.3247, allocations: 57.62 kB / 0.965 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3261, allocations: 0.8698 MB / 0.9658 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.3265, allocations: 0.8115 MB / 0.9666 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.3267, allocations: 47.42 kB / 0.9666 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.3267, allocations: 0 / 0.9666 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of Templates: time 0.00791/0.3346, allocations: 4.72 MB / 0.9712 GB, free: 2.66 MB / 0.7481 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