Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.DualDuctMixConDischargeSensor.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.002026/0.002026, allocations: 194.6 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.62 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3582, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002694/0.361, allocations: 1.133 MB / 1.028 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3623, allocations: 1.026 MB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.3624, allocations: 4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.693e-05/0.3625, allocations: 23.67 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3626, allocations: 31.66 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3628, allocations: 79.92 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.363, allocations: 224.2 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.3633, allocations: 136.1 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.3635, allocations: 87.66 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.3636, allocations: 111.4 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.3637, allocations: 27.94 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.016e-05/0.3637, allocations: 24 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.3638, allocations: 51.84 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.3639, allocations: 99.47 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.3641, allocations: 306.8 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3642, allocations: 3.984 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3642, allocations: 4 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3642, allocations: 0 / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007504/0.3649, allocations: 0.4913 MB / 1.031 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.365, allocations: 8.031 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/0.3651, allocations: 28.56 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.3656, allocations: 276.2 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.3656, allocations: 24.81 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.3657, allocations: 20.38 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.3661, allocations: 199.8 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3662, allocations: 192 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3662, allocations: 15.94 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.3662, allocations: 4 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.3666, allocations: 157.6 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.3674, allocations: 0.58 MB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.3677, allocations: 166.5 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.3679, allocations: 72.83 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3679, allocations: 4 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.368, allocations: 30.56 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.368, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0005641/0.3685, allocations: 221.2 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3686, allocations: 55.41 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3688, allocations: 187.2 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3688, allocations: 25.7 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.3689, allocations: 136.3 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.369, allocations: 47.3 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/0.369, allocations: 53.69 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3692, allocations: 326.8 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3693, allocations: 59.89 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3695, allocations: 98.23 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3698, allocations: 151.4 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3698, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004179/0.3703, allocations: 201.2 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3703, allocations: 6.344 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3703, allocations: 7.938 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3703, allocations: 0 / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3705, allocations: 27.98 kB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.3705, allocations: 11.92 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3706, allocations: 19.84 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3706, allocations: 7.984 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0001804/0.3708, allocations: 141.9 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.3709, allocations: 19.75 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.3709, allocations: 21.88 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3709, allocations: 3.984 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3709, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.371, allocations: 7.984 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.3712, allocations: 273.3 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3713, allocations: 4 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3714, allocations: 23.98 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3714, allocations: 0 / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3714, allocations: 4 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3714, allocations: 0 / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3714, allocations: 4 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.3718, allocations: 267.2 kB / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.3719, allocations: 92.86 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3719, allocations: 8 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.372, allocations: 7.984 kB / 1.034 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.3721, allocations: 23.97 kB / 1.034 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.3721, allocations: 4 kB / 1.034 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.677e-05/0.3722, allocations: 119.2 kB / 1.035 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3722, allocations: 0 / 1.035 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002655/0.3725, allocations: 35.84 kB / 1.035 GB, free: 9.594 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * 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.0001206/0.3726, allocations: 112.3 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.373, allocations: 155.7 kB / 1.035 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.373, allocations: 3.938 kB / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.3732, allocations: 82.55 kB / 1.035 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.3735, allocations: 20.64 kB / 1.035 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.3741, allocations: 345 kB / 1.035 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.3746, allocations: 0.7358 MB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.608e-05/0.3746, allocations: 17.55 kB / 1.036 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.3747, allocations: 31.36 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3747, allocations: 0 / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of Templates: time 0.004241/0.379, allocations: 1.476 MB / 1.038 GB, free: 6.633 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches