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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001947/0.001947, allocations: 110.6 kB / 16.27 MB, free: 6.414 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.002338/0.002338, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 469.4 MB / 0.7426 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.73 kB / 0.9089 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3494, allocations: 159.1 MB / 1.064 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002976/0.3524, allocations: 1.131 MB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.354, allocations: 1.014 MB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.3542, allocations: 4 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.762e-05/0.3543, allocations: 27.67 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.3545, allocations: 27.66 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.3548, allocations: 75.92 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.3551, allocations: 228.2 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.3554, allocations: 132.8 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.3557, allocations: 99.56 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3558, allocations: 99.53 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.3559, allocations: 24 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.045e-05/0.3559, allocations: 24 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.356, allocations: 63.7 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3561, allocations: 99.47 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.3565, allocations: 295.2 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3565, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3565, allocations: 3.938 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.3565, allocations: 4 kB / 1.068 GB, free: 11.6 MB / 0.8419 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.0009028/0.3575, allocations: 0.4891 MB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3575, allocations: 8.625 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.3576, allocations: 24.66 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.3581, allocations: 274.2 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.3581, allocations: 16.81 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.3582, allocations: 28.38 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.3586, allocations: 195.8 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3586, allocations: 4.188 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.3587, allocations: 19.86 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3587, allocations: 4 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.3591, allocations: 157.6 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008575/0.36, allocations: 0.5956 MB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.3604, allocations: 154.6 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.3606, allocations: 72.81 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.3606, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3606, allocations: 38.56 kB / 1.07 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.3606, allocations: 0 / 1.07 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.0006234/0.3612, allocations: 215.1 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.3613, allocations: 59.34 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.3615, allocations: 186.7 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3615, allocations: 25.7 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.3616, allocations: 144.1 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.3616, allocations: 51.45 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.3617, allocations: 49.69 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3618, allocations: 326.8 kB / 1.071 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.362, allocations: 55.95 kB / 1.071 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.3622, allocations: 102.4 kB / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.3626, allocations: 142.2 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3626, allocations: 4 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004407/0.363, allocations: 189.2 kB / 1.071 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3631, allocations: 6.031 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3631, allocations: 12.12 kB / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3631, allocations: 4 kB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.3633, allocations: 31.92 kB / 1.071 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3633, allocations: 4 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3634, allocations: 27.83 kB / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3635, allocations: 4 kB / 1.071 GB, free: 7.68 MB / 0.8419 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.0001814/0.3637, allocations: 150.9 kB / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.3637, allocations: 19.75 kB / 1.071 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.3637, allocations: 17.88 kB / 1.071 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3638, allocations: 4 kB / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3638, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3638, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.3641, allocations: 277.4 kB / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3641, allocations: 0 / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.3643, allocations: 27.91 kB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3643, allocations: 0 / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3643, allocations: 4 kB / 1.072 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3643, allocations: 8 kB / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3643, allocations: 0 / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.3647, allocations: 259.2 kB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.3648, allocations: 92.86 kB / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3648, allocations: 0 / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.365, allocations: 15.98 kB / 1.072 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.365, allocations: 23.97 kB / 1.072 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3651, allocations: 4 kB / 1.072 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.525e-05/0.3651, allocations: 123.2 kB / 1.072 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.874e-06/0.3652, allocations: 0 / 1.072 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002796/0.3654, allocations: 47.69 kB / 1.072 GB, free: 6.535 MB / 0.8419 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.000133/0.3656, allocations: 107.8 kB / 1.072 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.366, allocations: 157 kB / 1.072 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.366, allocations: 4 kB / 1.072 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.3662, allocations: 75.89 kB / 1.072 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3665, allocations: 19.92 kB / 1.072 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.3672, allocations: 384.8 kB / 1.073 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.3675, allocations: 0.7319 MB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.3676, allocations: 23.44 kB / 1.074 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3676, allocations: 0 / 1.074 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.003941/0.3715, allocations: 2.168 MB / 1.076 GB, free: 2.824 MB / 0.8419 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 -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