Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 387.4 MB / 394.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 180.8 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009069/0.0009067, allocations: 91.91 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.826e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3009, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9011/1.202, allocations: 150.1 MB / 1.353 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/1.202, allocations: 73.28 kB / 1.353 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01574/1.218, allocations: 6.02 MB / 1.359 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/1.218, allocations: 0 / 1.359 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.686e-05/1.218, allocations: 7.656 kB / 1.359 GB, free: 33.68 MB / 0.8386 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.001147/1.219, allocations: 0.68 MB / 1.359 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.219, allocations: 7.688 kB / 1.359 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.458e-05/1.219, allocations: 54.19 kB / 1.359 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/1.22, allocations: 232.9 kB / 1.36 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/1.22, allocations: 22.75 kB / 1.36 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/1.22, allocations: 28.84 kB / 1.36 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005028/1.22, allocations: 292.7 kB / 1.36 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/1.221, allocations: 385.8 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.221, allocations: 1.078 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/1.221, allocations: 0 / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/1.221, allocations: 11.69 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/1.222, allocations: 1.188 MB / 1.361 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/1.223, allocations: 345.3 kB / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/1.223, allocations: 163.1 kB / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/1.223, allocations: 7.594 kB / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/1.223, allocations: 33.81 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.453e-06/1.223, allocations: 3.844 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0004966/1.224, allocations: 280.9 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.224, allocations: 110.7 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/1.224, allocations: 225.6 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/1.224, allocations: 28.94 kB / 1.363 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/1.224, allocations: 204.4 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/1.224, allocations: 113 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/1.224, allocations: 0 / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.224, allocations: 338 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/1.224, allocations: 102.3 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/1.225, allocations: 133.2 kB / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/1.225, allocations: 87.31 kB / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.225, allocations: 0 / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003632/1.225, allocations: 285.2 kB / 1.364 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.225, allocations: 6.453 kB / 1.364 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.225, allocations: 0 / 1.364 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.225, allocations: 3.969 kB / 1.364 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/1.226, allocations: 106.3 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.226, allocations: 3.844 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/1.226, allocations: 68.42 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/1.226, allocations: 13.84 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.226, allocations: 116.6 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/1.226, allocations: 27.34 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.917e-05/1.226, allocations: 35.05 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/1.226, allocations: 3.844 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.226, allocations: 3.844 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.226, allocations: 3.047 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/1.227, allocations: 415.1 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.227, allocations: 3.844 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/1.227, allocations: 101.2 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/1.227, allocations: 3.844 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/1.227, allocations: 2.766 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.227, allocations: 3.938 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.227, allocations: 0 / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00057/1.228, allocations: 0.5583 MB / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/1.228, allocations: 107.3 kB / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/1.228, allocations: 3.844 kB / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/1.228, allocations: 52.7 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/1.229, allocations: 64.84 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/1.229, allocations: 7.719 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001345/1.229, allocations: 161 kB / 1.366 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.229, allocations: 0 / 1.366 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004284/1.229, allocations: 81.28 kB / 1.366 GB, free: 30.38 MB / 0.8386 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.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002399/1.229, allocations: 128.1 kB / 1.366 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004672/1.23, allocations: 270.9 kB / 1.366 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.23, allocations: 0 / 1.366 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/1.23, allocations: 186.5 kB / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/1.231, allocations: 30.7 kB / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/1.232, allocations: 482.8 kB / 1.367 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/1.232, allocations: 0.8213 MB / 1.367 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001964/1.232, allocations: 38.17 kB / 1.368 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.232, allocations: 37.16 kB / 1.368 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.232, allocations: 0 / 1.368 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of Templates: time 0.006177/1.239, allocations: 3.357 MB / 1.371 GB, free: 29.14 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches