Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001498/0.001498, allocations: 109.9 kB / 16.42 MB, free: 6.512 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.001774/0.001774, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.442/1.442, allocations: 222.9 MB / 241 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.882/2.882, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 71.83 kB / 1.07 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.9295, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003955/0.9335, allocations: 1.126 MB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.9357, allocations: 1.014 MB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.9359, allocations: 4 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.9361, allocations: 23.67 kB / 1.229 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.9364, allocations: 35.66 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.9368, allocations: 79.92 kB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.9372, allocations: 232.2 kB / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.9377, allocations: 132.1 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.938, allocations: 95.56 kB / 1.229 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.9382, allocations: 99.53 kB / 1.229 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.477e-05/0.9383, allocations: 24 kB / 1.229 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.214e-05/0.9384, allocations: 24 kB / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.9385, allocations: 55.78 kB / 1.229 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.9387, allocations: 111.4 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005285/0.9392, allocations: 303.2 kB / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9392, allocations: 4 kB / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9392, allocations: 0 / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.9392, allocations: 0 / 1.23 GB, free: 10.12 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.001137/0.9404, allocations: 0.4989 MB / 1.23 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.9405, allocations: 8.031 kB / 1.23 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.901e-05/0.9406, allocations: 24.8 kB / 1.23 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.9413, allocations: 284.2 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.9413, allocations: 20.75 kB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.9414, allocations: 20.38 kB / 1.23 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/0.942, allocations: 195.8 kB / 1.231 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.942, allocations: 192 / 1.231 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.9421, allocations: 15.94 kB / 1.231 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.9421, allocations: 8 kB / 1.231 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.9427, allocations: 165.6 kB / 1.231 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.944, allocations: 0.5763 MB / 1.231 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.9446, allocations: 162.6 kB / 1.232 GB, free: 8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.9449, allocations: 76.72 kB / 1.232 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.9449, allocations: 4 kB / 1.232 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.945, allocations: 30.56 kB / 1.232 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=17): time 2.304e-06/0.945, allocations: 0 / 1.232 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17): time 0.0009718/0.946, allocations: 218.6 kB / 1.232 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.946, allocations: 55.31 kB / 1.232 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.9463, allocations: 190.2 kB / 1.232 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.9463, allocations: 25.7 kB / 1.232 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.9465, allocations: 144.3 kB / 1.232 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.9466, allocations: 43.7 kB / 1.232 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.9467, allocations: 53.69 kB / 1.232 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.9469, allocations: 326.8 kB / 1.233 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.9471, allocations: 55.95 kB / 1.233 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.9475, allocations: 97.11 kB / 1.233 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.9479, allocations: 147 kB / 1.233 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.948, allocations: 0 / 1.233 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006075/0.9486, allocations: 203.4 kB / 1.233 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.9486, allocations: 4 kB / 1.233 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.9486, allocations: 7.984 kB / 1.233 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.9486, allocations: 0 / 1.233 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.9489, allocations: 27.98 kB / 1.233 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.9489, allocations: 11.92 kB / 1.233 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.9491, allocations: 27.83 kB / 1.233 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.9492, allocations: 8.156 kB / 1.233 GB, free: 6.172 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.0002651/0.9495, allocations: 142.3 kB / 1.233 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.9495, allocations: 19.84 kB / 1.233 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.934e-05/0.9496, allocations: 21.88 kB / 1.233 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.9496, allocations: 0 / 1.233 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.9496, allocations: 0 / 1.233 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.9497, allocations: 96.94 kB / 1.234 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.9498, allocations: 0 / 1.234 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.95, allocations: 16 kB / 1.234 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.9501, allocations: 19.97 kB / 1.234 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006963/0.9508, allocations: 248.7 kB / 1.234 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006573/0.9515, allocations: 340.6 kB / 1.234 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002648/0.9517, allocations: 67.95 kB / 1.234 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001401/0.9519, allocations: 128.1 kB / 1.234 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of Backend: time 7.11e-07/0.9519, allocations: 0 / 1.234 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008754/0.9528, allocations: 185.9 kB / 1.234 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001133/0.9539, allocations: 0.7584 MB / 1.235 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of Templates: time 0.007517/0.9615, allocations: 1.674 MB / 1.237 GB, free: 2.43 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches