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 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.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.001736/0.001737, allocations: 109.6 kB / 16.42 MB, free: 6.496 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.002021/0.002021, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.414/1.414, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 63.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8291/0.8308, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003507/0.8343, allocations: 1.145 MB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.8363, allocations: 1.014 MB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.8366, allocations: 4 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.8367, allocations: 27.67 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.837, allocations: 31.67 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.8373, allocations: 83.91 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.8377, allocations: 224.2 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.8381, allocations: 132.1 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.8383, allocations: 99.56 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.8386, allocations: 95.55 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.8386, allocations: 24 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.152e-05/0.8387, allocations: 24 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.8388, allocations: 55.78 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.8389, allocations: 111.4 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.8393, allocations: 298.7 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8393, allocations: 0 / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8393, allocations: 0 / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.8393, allocations: 4 kB / 1.212 GB, free: 10.19 MB / 0.9356 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.0009694/0.8403, allocations: 493 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.8404, allocations: 12.03 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.8405, allocations: 24.66 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.8411, allocations: 284.2 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.8411, allocations: 20.75 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.8412, allocations: 20.38 kB / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.8417, allocations: 199.8 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.8417, allocations: 192 / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.8417, allocations: 11.92 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.8418, allocations: 8 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.8422, allocations: 153.7 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009624/0.8432, allocations: 0.5878 MB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.8435, allocations: 163.5 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.8437, allocations: 64.77 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.8438, allocations: 12.05 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.8438, allocations: 42.55 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.983e-06/0.8438, allocations: 0 / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0006452/0.8445, allocations: 213.2 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.8445, allocations: 55.41 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.8447, allocations: 187.9 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.8447, allocations: 29.7 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.8448, allocations: 140.1 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.8449, allocations: 43.45 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.845, allocations: 49.7 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8451, allocations: 326.8 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.8453, allocations: 51.97 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.8455, allocations: 97.11 kB / 1.215 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.8459, allocations: 154.6 kB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8459, allocations: 0 / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000461/0.8464, allocations: 195.2 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.8464, allocations: 8 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8464, allocations: 0 / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.8465, allocations: 4 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.8467, allocations: 35.97 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.8467, allocations: 3.938 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.8468, allocations: 19.83 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.8468, allocations: 12 kB / 1.215 GB, free: 6.281 MB / 0.9356 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.0002213/0.8471, allocations: 133.9 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.8471, allocations: 23.75 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.8472, allocations: 21.86 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8472, allocations: 0 / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8472, allocations: 4 kB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.8473, allocations: 92.86 kB / 1.216 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.8473, allocations: 4 kB / 1.216 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.8474, allocations: 7.984 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/0.8475, allocations: 31.97 kB / 1.216 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004832/0.848, allocations: 248.6 kB / 1.216 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004804/0.8485, allocations: 341.1 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001807/0.8487, allocations: 71.94 kB / 1.216 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001082/0.8488, allocations: 127.2 kB / 1.216 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of Backend: time 5.71e-07/0.8488, allocations: 3.938 kB / 1.216 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006165/0.8494, allocations: 170.6 kB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009285/0.8504, allocations: 0.7564 MB / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of Templates: time 0.00558/0.856, allocations: 1.672 MB / 1.219 GB, free: 2.535 MB / 0.9356 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