Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009216/0.009216, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001967/0.001967, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.429/1.429, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.481/2.481, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.91 kB / 0.8126 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6608/0.6626, allocations: 140.3 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002474/0.6651, allocations: 1.171 MB / 0.9508 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.6662, allocations: 0.9992 MB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.6662, allocations: 2.75 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.132e-05/0.6663, allocations: 13.23 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.6664, allocations: 13.19 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.6666, allocations: 78.94 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.6668, allocations: 202.9 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.667, allocations: 118.8 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.6672, allocations: 77.19 kB / 0.9522 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.801e-05/0.6673, allocations: 89.72 kB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.6673, allocations: 16.56 kB / 0.9523 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.819e-05/0.6674, allocations: 11.44 kB / 0.9523 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.6674, allocations: 38.02 kB / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.6675, allocations: 85.84 kB / 0.9525 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.6677, allocations: 213.5 kB / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6677, allocations: 0 / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6677, allocations: 0 / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.6677, allocations: 1.438 kB / 0.9527 GB, free: 6.758 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005993/0.6683, allocations: 493.3 kB / 0.9531 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.6683, allocations: 18.03 kB / 0.9532 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.6684, allocations: 22.81 kB / 0.9532 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.6688, allocations: 280.6 kB / 0.9534 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.6688, allocations: 12.88 kB / 0.9535 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.6689, allocations: 21.03 kB / 0.9535 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.6692, allocations: 187.9 kB / 0.9537 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6693, allocations: 4 kB / 0.9537 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.6693, allocations: 10.31 kB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.6693, allocations: 5.781 kB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.6697, allocations: 147.9 kB / 0.9538 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/0.6705, allocations: 0.565 MB / 0.9544 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/0.671, allocations: 131.8 kB / 0.9545 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.6713, allocations: 63.47 kB / 0.9546 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.6713, allocations: 5.594 kB / 0.9546 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.6713, allocations: 36.22 kB / 0.9546 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.6713, allocations: 0 / 0.9546 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0008103/0.6721, allocations: 210.1 kB / 0.9548 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.6722, allocations: 53.72 kB / 0.9548 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.6724, allocations: 171.8 kB / 0.955 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.6724, allocations: 30.86 kB / 0.955 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.6725, allocations: 142.4 kB / 0.9552 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.6725, allocations: 37.09 kB / 0.9552 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/0.6726, allocations: 51.12 kB / 0.9553 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.6727, allocations: 330.9 kB / 0.9556 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.6729, allocations: 51.61 kB / 0.9556 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.6732, allocations: 96.59 kB / 0.9557 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.6736, allocations: 145.3 kB / 0.9559 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6736, allocations: 1.438 kB / 0.9559 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005586/0.6742, allocations: 187.9 kB / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.6742, allocations: 4.781 kB / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6743, allocations: 5.625 kB / 0.956 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.6743, allocations: 2.531 kB / 0.9561 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.6745, allocations: 31.25 kB / 0.9561 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.6746, allocations: 6.25 kB / 0.9561 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.6747, allocations: 27.95 kB / 0.9561 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.6748, allocations: 5.719 kB / 0.9561 GB, free: 3.879 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001309/0.6749, allocations: 130.3 kB / 0.9562 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.675, allocations: 9.438 kB / 0.9563 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.675, allocations: 29.48 kB / 0.9563 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.675, allocations: 4.969 kB / 0.9563 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.6751, allocations: 0 / 0.9563 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6751, allocations: 1.438 kB / 0.9563 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.6754, allocations: 273.7 kB / 0.9565 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6754, allocations: 0 / 0.9565 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.6756, allocations: 23.45 kB / 0.9566 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.6756, allocations: 1.219 kB / 0.9566 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.6757, allocations: 9.172 kB / 0.9566 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.6757, allocations: 1.188 kB / 0.9566 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6757, allocations: 3.984 kB / 0.9566 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.6762, allocations: 250.3 kB / 0.9568 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.6762, allocations: 96.67 kB / 0.9569 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.6763, allocations: 3.938 kB / 0.9569 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.6764, allocations: 14.61 kB / 0.9569 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6766, allocations: 23.44 kB / 0.957 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.6766, allocations: 3.062 kB / 0.957 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00011/0.6767, allocations: 120.1 kB / 0.9571 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6767, allocations: 4 kB / 0.9571 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004912/0.6772, allocations: 36.38 kB / 0.9571 GB, free: 2.992 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001572/0.6774, allocations: 107.7 kB / 0.9572 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005839/0.678, allocations: 136.8 kB / 0.9573 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.678, allocations: 5.781 kB / 0.9573 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.6782, allocations: 67.5 kB / 0.9574 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.6787, allocations: 20.78 kB / 0.9574 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/0.6796, allocations: 421.1 kB / 0.9578 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.6798, allocations: 0.7287 MB / 0.9585 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.6799, allocations: 18.5 kB / 0.9586 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of SimCode: time 6.22e-07/0.6799, allocations: 0 / 0.9586 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of Templates: time 0.005259/0.6852, allocations: 2.066 MB / 0.9606 GB, free: 0.668 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches