Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 200 kB / 16.79 MB, free: 6.809 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.471/1.471, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.748/2.748, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 68.64 kB / 0.8991 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3499, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002892/0.3528, allocations: 1.189 MB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3544, allocations: 1.006 MB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.3546, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.3548, allocations: 11.86 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.3549, allocations: 23.8 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.3552, allocations: 75.94 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.3555, allocations: 212.2 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.3558, allocations: 124 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.356, allocations: 79.64 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3562, allocations: 91.53 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.3562, allocations: 16 kB / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-05/0.3563, allocations: 12 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.3563, allocations: 43.78 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.3564, allocations: 87.47 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.3567, allocations: 239.7 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3567, allocations: 0 / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3567, allocations: 0 / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3567, allocations: 0 / 1.056 GB, free: 5.055 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.0008389/0.3576, allocations: 0.4952 MB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/0.3576, allocations: 15.95 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.3577, allocations: 24.66 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.3582, allocations: 278.6 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.3583, allocations: 16.81 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.3583, allocations: 24.38 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.3587, allocations: 191.8 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3588, allocations: 4.188 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.3588, allocations: 15.94 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3588, allocations: 4 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.3592, allocations: 153.7 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.3602, allocations: 0.6033 MB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.3606, allocations: 161.6 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.3608, allocations: 68.81 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.3608, allocations: 4 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3608, allocations: 30.56 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 2.995e-06/0.3609, allocations: 0 / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006153/0.3615, allocations: 226.4 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3615, allocations: 51.41 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3617, allocations: 183.7 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3617, allocations: 25.7 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.3618, allocations: 144.3 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.3619, allocations: 43.3 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.362, allocations: 61.69 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3621, allocations: 326.8 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.3623, allocations: 59.95 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.3625, allocations: 89.67 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.3628, allocations: 146.4 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3628, allocations: 0 / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004479/0.3633, allocations: 202.9 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3633, allocations: 4 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3633, allocations: 7.938 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3634, allocations: 0 / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.3636, allocations: 35.91 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3636, allocations: 4.156 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3637, allocations: 31.83 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.3637, allocations: 4 kB / 1.06 GB, free: 1.117 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.0001651/0.3639, allocations: 137.8 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.364, allocations: 23.73 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.364, allocations: 21.88 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.364, allocations: 0 / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.364, allocations: 4 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.364, allocations: 4 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.3644, allocations: 273.4 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3644, allocations: 0 / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.3645, allocations: 27.97 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3645, allocations: 0 / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3646, allocations: 0 / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3646, allocations: 0 / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3646, allocations: 0 / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.365, allocations: 269 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.3651, allocations: 92.86 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3651, allocations: 11.94 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3652, allocations: 7.984 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.3653, allocations: 19.97 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3653, allocations: 8 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.537e-05/0.3654, allocations: 128.2 kB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3654, allocations: 0 / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003142/0.3657, allocations: 35.89 kB / 1.061 GB, free: 15.98 MB / 0.8262 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.0001464/0.3659, allocations: 113.3 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.3663, allocations: 160 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3663, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.3665, allocations: 75.89 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3669, allocations: 21.91 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.3676, allocations: 442.1 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.368, allocations: 0.7283 MB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.3681, allocations: 19.44 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3681, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.004426/0.3725, allocations: 2.163 MB / 1.064 GB, free: 12.22 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches