Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DualDuctColdDuctMin.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001273, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001287/0.001287, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.707/2.707, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 0.8688 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.6558, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003408/0.6593, allocations: 1.334 MB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.661, allocations: 1.065 MB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.6612, allocations: 4 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.6614, allocations: 19.78 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.176e-05/0.6615, allocations: 23.81 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.6618, allocations: 95.86 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000349/0.6621, allocations: 280.5 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.6625, allocations: 172.7 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.6627, allocations: 115.5 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.6628, allocations: 123.4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.6629, allocations: 28 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.6629, allocations: 32 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.663, allocations: 67.77 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.6631, allocations: 123.3 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.6634, allocations: 376.7 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6635, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.063e-06/0.6635, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.6635, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008495/0.6643, allocations: 0.5419 MB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.6644, allocations: 12.03 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.6645, allocations: 28.56 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.665, allocations: 317 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.665, allocations: 20.94 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.665, allocations: 24.38 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.6655, allocations: 225.4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6655, allocations: 192 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.6656, allocations: 11.94 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6656, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.666, allocations: 186.1 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009527/0.667, allocations: 0.6702 MB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.6674, allocations: 146.5 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.6676, allocations: 77 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.6676, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.6676, allocations: 42.41 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.6676, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0006446/0.6683, allocations: 218.5 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.6683, allocations: 59.41 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.6685, allocations: 200.8 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6686, allocations: 29.7 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.6687, allocations: 164 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.6687, allocations: 51.36 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/0.6688, allocations: 57.69 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.669, allocations: 330.8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.6691, allocations: 63.97 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.6694, allocations: 120.3 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.6697, allocations: 164.1 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6697, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004621/0.6702, allocations: 223.6 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6702, allocations: 8 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6702, allocations: 3.984 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6703, allocations: 4 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.6705, allocations: 44.12 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.6705, allocations: 8 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.6706, allocations: 23.73 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.6707, allocations: 15.94 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (25): * Single equations (assignments): 25 * 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.0001909/0.6709, allocations: 146.2 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.6709, allocations: 15.81 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.671, allocations: 25.86 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.671, allocations: 8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.671, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.671, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.6713, allocations: 305.3 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6713, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.6715, allocations: 19.98 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6715, allocations: 0 / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.6715, allocations: 7.984 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6715, allocations: 0 / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6715, allocations: 0 / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.6719, allocations: 271.1 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.672, allocations: 100.8 kB / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.672, allocations: 0 / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.6722, allocations: 15.98 kB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.6723, allocations: 23.97 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.6723, allocations: 12 kB / 1.025 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001019/0.6724, allocations: 140.5 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6724, allocations: 3.938 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002887/0.6727, allocations: 47.84 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001256/0.6729, allocations: 106.4 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004473/0.6733, allocations: 180.9 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6733, allocations: 0 / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.6735, allocations: 79.89 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.6738, allocations: 23.92 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.6746, allocations: 475.9 kB / 1.026 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.6748, allocations: 0.7406 MB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.675, allocations: 33.92 kB / 1.027 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.6751, allocations: 23.42 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6751, allocations: 4 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of Templates: time 0.004749/0.6798, allocations: 1.809 MB / 1.029 GB, free: 5.906 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches