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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001669/0.001669, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002238/0.002238, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.582/1.582, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.75/2.75, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 65.39 kB / 0.8991 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3582, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.003332/0.3616, allocations: 1.079 MB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3634, allocations: 0.9674 MB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.3636, allocations: 0 / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.858e-05/0.3637, allocations: 15.86 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.3639, allocations: 11.86 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.3642, allocations: 55.95 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.3645, allocations: 156.1 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.3647, allocations: 96.27 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.365, allocations: 55.72 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.3651, allocations: 75.61 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.3652, allocations: 12 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.005e-05/0.3652, allocations: 12 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.3653, allocations: 27.91 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.362e-05/0.3654, allocations: 67.59 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.3656, allocations: 163.8 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3656, allocations: 0 / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3657, allocations: 4 kB / 1.056 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.535e-06/0.3657, allocations: 0 / 1.056 GB, free: 5.484 MB / 0.8106 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.0008683/0.3665, allocations: 451 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.3666, allocations: 8.031 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.3667, allocations: 16.75 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.3672, allocations: 259.9 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3672, allocations: 16.31 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.3673, allocations: 12.38 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.3677, allocations: 150 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3677, allocations: 4.188 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.3677, allocations: 11.88 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3677, allocations: 4 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.3681, allocations: 119.9 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.369, allocations: 492 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.3693, allocations: 114.6 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.3696, allocations: 64.81 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.3696, allocations: 3.984 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.3696, allocations: 30.56 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3696, allocations: 3.938 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0006365/0.3703, allocations: 169.8 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3703, allocations: 55.41 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3705, allocations: 157.7 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3706, allocations: 25.7 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3707, allocations: 124.2 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.3707, allocations: 35.53 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.3708, allocations: 41.7 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.371, allocations: 322.8 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3711, allocations: 47.97 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.3713, allocations: 72.94 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.3716, allocations: 111.4 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3716, allocations: 0 / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003919/0.372, allocations: 157.2 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.3721, allocations: 11.98 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3721, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3721, allocations: 4.094 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3723, allocations: 27.98 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3723, allocations: 0 / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3725, allocations: 15.92 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3725, allocations: 4 kB / 1.059 GB, free: 2.145 MB / 0.8106 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.0001495/0.3726, allocations: 133.7 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.3727, allocations: 15.81 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.3727, allocations: 20.7 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.3728, allocations: 4 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3728, allocations: 0 / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3728, allocations: 0 / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.3731, allocations: 229.5 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.3731, allocations: 8 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.3732, allocations: 15.98 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3733, allocations: 3.984 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3733, allocations: 8 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3733, allocations: 7.875 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.3733, allocations: 7.984 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.3737, allocations: 235.2 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.3738, allocations: 88.95 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.3738, allocations: 0 / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3739, allocations: 11.98 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.374, allocations: 23.97 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3741, allocations: 4 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.666e-05/0.3741, allocations: 109.3 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3742, allocations: 0 / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002838/0.3744, allocations: 27.91 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001772/0.3746, allocations: 115.1 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.375, allocations: 119.8 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.375, allocations: 4 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.3752, allocations: 51.97 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.3756, allocations: 14.03 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.3764, allocations: 348.3 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.3768, allocations: 0.7165 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.3769, allocations: 23.42 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.3769, allocations: 0 / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.004381/0.3813, allocations: 1.688 MB / 1.062 GB, free: 14 MB / 0.8262 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