Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 113.7 kB / 16.42 MB, free: 6.492 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.001538/0.001538, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 59.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002662/1.031, allocations: 1.029 MB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001371/1.032, allocations: 0.9752 MB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/1.033, allocations: 4 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.643e-05/1.033, allocations: 11.81 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/1.033, allocations: 27.72 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/1.033, allocations: 67.88 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002093/1.033, allocations: 172 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/1.034, allocations: 88.3 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/1.034, allocations: 71.7 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/1.034, allocations: 71.69 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/1.034, allocations: 20 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/1.034, allocations: 23.94 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/1.034, allocations: 35.91 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/1.034, allocations: 75.59 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/1.034, allocations: 219 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.034, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/1.034, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.034, allocations: 0 / 1.211 GB, free: 10.72 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000764/1.035, allocations: 444.8 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.035, allocations: 12.03 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/1.035, allocations: 24.64 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/1.036, allocations: 265.3 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.036, allocations: 8.375 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/1.036, allocations: 16.38 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/1.036, allocations: 154 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.036, allocations: 192 / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/1.036, allocations: 11.94 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/1.036, allocations: 4 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/1.037, allocations: 115.9 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008497/1.037, allocations: 488 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/1.038, allocations: 126.6 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/1.038, allocations: 48.83 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/1.038, allocations: 0 / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/1.038, allocations: 38.5 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/1.038, allocations: 0 / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005898/1.039, allocations: 181.4 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/1.039, allocations: 55.41 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/1.039, allocations: 157.1 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/1.039, allocations: 29.7 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/1.039, allocations: 112.3 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/1.039, allocations: 39.45 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/1.039, allocations: 37.7 kB / 1.214 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.039, allocations: 326.8 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/1.039, allocations: 47.91 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/1.04, allocations: 71.39 kB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/1.04, allocations: 111.2 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.04, allocations: 4 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003872/1.04, allocations: 149.5 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.04, allocations: 4 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.04, allocations: 3.938 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.04, allocations: 4 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/1.041, allocations: 23.98 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.041, allocations: 4 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/1.041, allocations: 15.89 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/1.041, allocations: 7.938 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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.0001165/1.041, allocations: 141.8 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/1.041, allocations: 7.906 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/1.041, allocations: 16.72 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.041, allocations: 3.984 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.041, allocations: 0 / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/1.041, allocations: 88.95 kB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/1.041, allocations: 3.984 kB / 1.215 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/1.041, allocations: 11.94 kB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/1.041, allocations: 23.97 kB / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004514/1.042, allocations: 212.9 kB / 1.215 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004745/1.042, allocations: 323 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001572/1.042, allocations: 51.95 kB / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.118e-05/1.042, allocations: 112.9 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of Backend: time 2.21e-07/1.042, allocations: 0 / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005143/1.043, allocations: 150.3 kB / 1.215 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007085/1.044, allocations: 0.6978 MB / 1.216 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of Templates: time 0.004308/1.048, allocations: 1.405 MB / 1.217 GB, free: 4.098 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches