Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 117.7 kB / 16.37 MB, free: 6 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.001418/0.001418, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 71.62 kB / 0.8708 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3628, allocations: 151.6 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002637/0.3655, allocations: 1.124 MB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3669, allocations: 1.01 MB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.367, allocations: 8 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.528e-05/0.367, allocations: 23.67 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.3672, allocations: 23.73 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.3674, allocations: 83.84 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.3677, allocations: 216.2 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.3679, allocations: 125.1 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.3681, allocations: 91.64 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.3682, allocations: 99.53 kB / 1.022 GB, free: 6.992 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.3683, allocations: 20 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.118e-05/0.3683, allocations: 24 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.3684, allocations: 43.84 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.928e-05/0.3685, allocations: 103.4 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.3688, allocations: 290.8 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3688, allocations: 0 / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3688, allocations: 0 / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.3688, allocations: 4 kB / 1.022 GB, free: 6.516 MB / 0.795 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.0007236/0.3695, allocations: 487.2 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3696, allocations: 8.922 kB / 1.023 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.3696, allocations: 24.66 kB / 1.023 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.3701, allocations: 284.2 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.3701, allocations: 12.81 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.3702, allocations: 24.38 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.3706, allocations: 183.8 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3706, allocations: 7.875 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.3706, allocations: 12 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3706, allocations: 4 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.371, allocations: 145.7 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.3718, allocations: 0.5647 MB / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.3721, allocations: 123.4 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3723, allocations: 68.75 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.3723, allocations: 4 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3723, allocations: 42.5 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.3723, allocations: 0 / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0005727/0.3729, allocations: 199.6 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.373, allocations: 55.34 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.3731, allocations: 179.3 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3732, allocations: 33.7 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.3733, allocations: 140.1 kB / 1.025 GB, free: 3.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3733, allocations: 39.53 kB / 1.025 GB, free: 3.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.3734, allocations: 49.69 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3735, allocations: 322.8 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3737, allocations: 59.89 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3738, allocations: 94.84 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.3742, allocations: 141 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3742, allocations: 0 / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003889/0.3746, allocations: 188.4 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3746, allocations: 4 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3746, allocations: 0 / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3746, allocations: 4 kB / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.3748, allocations: 39.84 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.3748, allocations: 0 / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.375, allocations: 23.83 kB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.375, allocations: 8 kB / 1.025 GB, free: 2.746 MB / 0.795 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.0001159/0.3751, allocations: 138.5 kB / 1.026 GB, free: 2.602 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.3751, allocations: 15.8 kB / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.3752, allocations: 25.52 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3752, allocations: 7.938 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3752, allocations: 0 / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3752, allocations: 0 / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.3755, allocations: 261.5 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3755, allocations: 4 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.3756, allocations: 23.98 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3756, allocations: 4 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3757, allocations: 0 / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3757, allocations: 7.938 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3757, allocations: 0 / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.3761, allocations: 255.2 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.3761, allocations: 92.86 kB / 1.026 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3762, allocations: 12 kB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3763, allocations: 11.92 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.3764, allocations: 19.98 kB / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3764, allocations: 7.984 kB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.993e-05/0.3765, allocations: 115.2 kB / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3765, allocations: 7.938 kB / 1.026 GB, free: 1.668 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002706/0.3767, allocations: 35.84 kB / 1.026 GB, free: 1.633 MB / 0.795 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.0001347/0.3769, allocations: 115.2 kB / 1.027 GB, free: 1.512 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.3773, allocations: 131.8 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3773, allocations: 4 kB / 1.027 GB, free: 1.379 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.3775, allocations: 71.89 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3778, allocations: 24.3 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.3784, allocations: 322.8 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3787, allocations: 0.7319 MB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.185e-05/0.3788, allocations: 21.55 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.3789, allocations: 15.44 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of SimCode: time 7.11e-07/0.3789, allocations: 0 / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of Templates: time 0.004477/0.3834, allocations: 1.441 MB / 1.029 GB, free: 14.76 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches