Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.005455/0.005455, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001098/0.001098, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.749/2.749, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.34 kB / 0.9509 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3569, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003465/0.3604, allocations: 1.116 MB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3623, allocations: 0.9947 MB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3624, allocations: 4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.3625, allocations: 27.67 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.3627, allocations: 35.72 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.3631, allocations: 79.86 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.3634, allocations: 212.2 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.3638, allocations: 128.2 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.364, allocations: 91.59 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.3642, allocations: 99.52 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.3643, allocations: 20 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.3643, allocations: 27.94 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.3644, allocations: 55.78 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.3646, allocations: 91.47 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.365, allocations: 290.9 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3651, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3651, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.3651, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 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.001009/0.3661, allocations: 491.1 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.3662, allocations: 8.031 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.3662, allocations: 24.66 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006665/0.3669, allocations: 272.3 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.367, allocations: 20.8 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.367, allocations: 24.38 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.3676, allocations: 191.1 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3676, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.3677, allocations: 8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3677, allocations: 4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.3683, allocations: 149.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3694, allocations: 0.5608 MB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.3699, allocations: 127.5 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.3701, allocations: 68.2 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.3702, allocations: 7.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3702, allocations: 34.56 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.3702, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.000856/0.3711, allocations: 205.3 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3712, allocations: 51.41 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3714, allocations: 195.7 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3714, allocations: 25.7 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3716, allocations: 132.3 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.3716, allocations: 47.39 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3717, allocations: 49.69 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3719, allocations: 322.8 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.3722, allocations: 47.97 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.3724, allocations: 97.11 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.3729, allocations: 137 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3729, allocations: 3.938 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006068/0.3735, allocations: 192.2 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3736, allocations: 4 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3736, allocations: 3.938 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3736, allocations: 7.938 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.3739, allocations: 39.91 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3739, allocations: 3.984 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.3741, allocations: 19.83 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3741, allocations: 8 kB / 1.095 GB, free: 10.48 MB / 0.8575 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.0001917/0.3743, allocations: 146.4 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.3744, allocations: 11.81 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.3745, allocations: 25.45 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3745, allocations: 4 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.3745, allocations: 3.984 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3745, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.3749, allocations: 261.5 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.375, allocations: 0 / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.3752, allocations: 23.97 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3752, allocations: 4 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.3752, allocations: 11.94 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3752, allocations: 0 / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3752, allocations: 3.938 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.3758, allocations: 243.2 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.3759, allocations: 96.91 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.3759, allocations: 11.94 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3761, allocations: 8 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.3762, allocations: 23.97 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3763, allocations: 4 kB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001256/0.3764, allocations: 119.2 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3764, allocations: 0 / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005093/0.3769, allocations: 35.84 kB / 1.096 GB, free: 9.379 MB / 0.8575 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.0001871/0.3771, allocations: 122.8 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005644/0.3777, allocations: 131.8 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3777, allocations: 4 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.378, allocations: 71.89 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.3786, allocations: 16.31 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.3795, allocations: 328 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.3799, allocations: 0.7318 MB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.3801, allocations: 25.53 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.3802, allocations: 19.44 kB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.3802, allocations: 3.938 kB / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of Templates: time 0.005018/0.3852, allocations: 1.436 MB / 1.098 GB, free: 6.492 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches