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.001483/0.001483, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001665/0.001666, allocations: 190.8 kB / 17.29 MB, free: 5.48 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.14 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.582/2.582, allocations: 437.1 MB / 0.7112 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 56.78 kB / 0.8707 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3561, allocations: 151.6 MB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002469/0.3586, allocations: 1.125 MB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3598, allocations: 1.01 MB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.3599, allocations: 0 / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.233e-05/0.36, allocations: 19.73 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.3601, allocations: 35.67 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.3603, allocations: 83.84 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.3605, allocations: 208.2 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.3608, allocations: 125.1 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.361, allocations: 95.53 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3611, allocations: 103.5 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.3611, allocations: 20 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.727e-05/0.3612, allocations: 24 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.3612, allocations: 51.84 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.924e-05/0.3613, allocations: 91.47 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.3616, allocations: 286.9 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3616, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3616, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.3616, allocations: 0 / 1.022 GB, free: 6.488 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.0006981/0.3623, allocations: 499.1 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3624, allocations: 8.922 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.3624, allocations: 24.66 kB / 1.023 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.3629, allocations: 276.2 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3629, allocations: 16.81 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.3629, allocations: 20.38 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.3633, allocations: 191.8 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3633, allocations: 3.938 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.3634, allocations: 11.94 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3634, allocations: 4 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.3637, allocations: 145.7 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007856/0.3645, allocations: 0.5725 MB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.3648, allocations: 127.4 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.365, allocations: 64.77 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.365, allocations: 4 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.3651, allocations: 34.56 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.3651, allocations: 0 / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0005681/0.3656, allocations: 207.1 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.3657, allocations: 55.34 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3659, allocations: 179.3 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3659, allocations: 33.7 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.366, allocations: 132.2 kB / 1.025 GB, free: 3.719 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.366, allocations: 47.52 kB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.3661, allocations: 45.69 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3662, allocations: 326.8 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.3664, allocations: 47.97 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.3665, allocations: 98.84 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.3669, allocations: 147.1 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3669, allocations: 4 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000379/0.3672, allocations: 181.3 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3673, allocations: 4.156 kB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3673, allocations: 8 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3673, allocations: 0 / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.3675, allocations: 35.91 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.3675, allocations: 7.938 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3676, allocations: 23.83 kB / 1.025 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3676, allocations: 4 kB / 1.025 GB, free: 2.703 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.0001221/0.3677, allocations: 138.5 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.3678, allocations: 15.81 kB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.3678, allocations: 13.53 kB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3678, allocations: 11.92 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3678, allocations: 0 / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3679, allocations: 0 / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.3681, allocations: 261.5 kB / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3681, allocations: 0 / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.3683, allocations: 27.91 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3683, allocations: 0 / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3683, allocations: 15.94 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3683, allocations: 3.938 kB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3683, allocations: 0 / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.3687, allocations: 251.2 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.3688, allocations: 92.91 kB / 1.026 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.3688, allocations: 7.938 kB / 1.026 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3689, allocations: 15.94 kB / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.369, allocations: 19.97 kB / 1.026 GB, free: 1.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.369, allocations: 8 kB / 1.026 GB, free: 1.75 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.846e-05/0.3691, allocations: 119.2 kB / 1.026 GB, free: 1.633 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3691, allocations: 0 / 1.026 GB, free: 1.633 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002596/0.3694, allocations: 35.84 kB / 1.026 GB, free: 1.598 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.0001198/0.3695, allocations: 115.2 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.3699, allocations: 142.3 kB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3699, allocations: 3.938 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.3701, allocations: 63.95 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3704, allocations: 20.25 kB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.371, allocations: 334.4 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3713, allocations: 0.7241 MB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.33e-05/0.3714, allocations: 29.53 kB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.3714, allocations: 15.44 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3714, allocations: 4 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of Templates: time 0.004268/0.3757, allocations: 1.432 MB / 1.029 GB, free: 14.72 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 gbode -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