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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007463/0.007463, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001392/0.001392, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.7 MB / 0.7453 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.041, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003203/1.044, allocations: 1.128 MB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001543/1.046, allocations: 1.014 MB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/1.046, allocations: 0 / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.147e-05/1.046, allocations: 23.67 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001417/1.046, allocations: 35.66 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/1.046, allocations: 79.92 kB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/1.047, allocations: 232.2 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/1.047, allocations: 120.1 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/1.047, allocations: 99.56 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/1.047, allocations: 103.5 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/1.047, allocations: 24 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.512e-05/1.047, allocations: 24 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/1.047, allocations: 63.7 kB / 1.229 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/1.047, allocations: 99.47 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/1.048, allocations: 307.2 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.048, allocations: 0 / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.784e-06/1.048, allocations: 0 / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.048, allocations: 0 / 1.229 GB, free: 10.2 MB / 0.9512 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.0009919/1.049, allocations: 0.5066 MB / 1.229 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.049, allocations: 8.031 kB / 1.229 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/1.049, allocations: 24.8 kB / 1.229 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/1.049, allocations: 276.3 kB / 1.23 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/1.05, allocations: 16.81 kB / 1.23 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/1.05, allocations: 28.31 kB / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/1.05, allocations: 195.8 kB / 1.23 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.05, allocations: 192 / 1.23 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/1.05, allocations: 15.94 kB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/1.05, allocations: 4 kB / 1.23 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/1.051, allocations: 157.6 kB / 1.23 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008755/1.051, allocations: 0.5958 MB / 1.231 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/1.052, allocations: 160.2 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/1.052, allocations: 72.72 kB / 1.231 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/1.052, allocations: 4 kB / 1.231 GB, free: 8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/1.052, allocations: 34.56 kB / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/1.052, allocations: 0 / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17): time 0.0005874/1.053, allocations: 215.6 kB / 1.231 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/1.053, allocations: 59.3 kB / 1.231 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/1.053, allocations: 186.3 kB / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/1.053, allocations: 25.7 kB / 1.231 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/1.053, allocations: 144.3 kB / 1.232 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/1.053, allocations: 47.7 kB / 1.232 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/1.053, allocations: 53.69 kB / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0003582/1.054, allocations: 326.8 kB / 1.232 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/1.054, allocations: 55.95 kB / 1.232 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/1.054, allocations: 101.1 kB / 1.232 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/1.054, allocations: 141 kB / 1.232 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.054, allocations: 0 / 1.232 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004503/1.055, allocations: 203.1 kB / 1.232 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.055, allocations: 4 kB / 1.232 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.055, allocations: 8.156 kB / 1.232 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.055, allocations: 0 / 1.232 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/1.055, allocations: 27.98 kB / 1.232 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/1.055, allocations: 15.91 kB / 1.232 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/1.055, allocations: 23.84 kB / 1.233 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/1.055, allocations: 4 kB / 1.233 GB, free: 6.254 MB / 0.9512 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.0002188/1.056, allocations: 142.4 kB / 1.233 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/1.056, allocations: 19.84 kB / 1.233 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/1.056, allocations: 21.88 kB / 1.233 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.056, allocations: 3.938 kB / 1.233 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.056, allocations: 0 / 1.233 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.056, allocations: 7.984 kB / 1.233 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/1.056, allocations: 273.4 kB / 1.233 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.056, allocations: 0 / 1.233 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/1.056, allocations: 23.92 kB / 1.233 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.056, allocations: 0 / 1.233 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/1.056, allocations: 8 kB / 1.233 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.056, allocations: 0 / 1.233 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.056, allocations: 4 kB / 1.233 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/1.057, allocations: 264.7 kB / 1.233 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/1.057, allocations: 96.95 kB / 1.233 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/1.057, allocations: 0 / 1.233 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/1.057, allocations: 23.91 kB / 1.233 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.057, allocations: 23.97 kB / 1.233 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/1.057, allocations: 8 kB / 1.233 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.534e-05/1.057, allocations: 120.2 kB / 1.234 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/1.057, allocations: 0 / 1.234 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002641/1.057, allocations: 39.84 kB / 1.234 GB, free: 5.102 MB / 0.9512 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.0001619/1.058, allocations: 111.2 kB / 1.234 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00042/1.058, allocations: 151.8 kB / 1.234 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.058, allocations: 0 / 1.234 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/1.058, allocations: 75.89 kB / 1.234 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/1.059, allocations: 23.75 kB / 1.234 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/1.059, allocations: 348.6 kB / 1.234 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/1.06, allocations: 0.7319 MB / 1.235 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.813e-05/1.06, allocations: 25.55 kB / 1.235 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/1.06, allocations: 27.42 kB / 1.235 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/1.06, allocations: 0 / 1.235 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of Templates: time 0.005183/1.065, allocations: 1.488 MB / 1.236 GB, free: 2.133 MB / 0.9512 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/jenkins/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