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.001559/0.001559, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0027/0.0027, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 461.9 MB / 0.7342 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 65.11 kB / 0.8985 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3975, allocations: 157.4 MB / 1.052 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.00252/0.4001, allocations: 1.071 MB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.4014, allocations: 0.9752 MB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.4015, allocations: 4 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.745e-05/0.4016, allocations: 7.875 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.4017, allocations: 11.86 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.402, allocations: 51.97 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.4021, allocations: 160 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.4023, allocations: 92.25 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.4025, allocations: 67.7 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.421e-05/0.4026, allocations: 67.62 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.4026, allocations: 8 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.411e-05/0.4027, allocations: 8 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.4027, allocations: 27.91 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.4028, allocations: 75.52 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.403, allocations: 199.6 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.403, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.31e-07/0.403, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.403, allocations: 0 / 1.055 GB, free: 5.898 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.000702/0.4037, allocations: 454.9 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4038, allocations: 12.03 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.4038, allocations: 16.75 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.4043, allocations: 261.3 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.4043, allocations: 12.38 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.4043, allocations: 12.38 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.4047, allocations: 159 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4047, allocations: 4.188 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.4047, allocations: 11.94 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4047, allocations: 8 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.4051, allocations: 115.9 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.4058, allocations: 496 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.4061, allocations: 118.7 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.4063, allocations: 48.83 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.4063, allocations: 4 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.4063, allocations: 38.5 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.4063, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005564/0.4069, allocations: 173.4 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.4069, allocations: 55.41 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4071, allocations: 152.2 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4071, allocations: 29.7 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.4072, allocations: 124.2 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.4072, allocations: 35.55 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.4073, allocations: 33.7 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4074, allocations: 330.8 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.4076, allocations: 39.97 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.4078, allocations: 75.39 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.4081, allocations: 111.8 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.4081, allocations: 0 / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003847/0.4085, allocations: 169.1 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4085, allocations: 5.094 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.4085, allocations: 7.984 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4085, allocations: 0 / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.4087, allocations: 27.97 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4087, allocations: 0 / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.4088, allocations: 16.03 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.4089, allocations: 11.98 kB / 1.058 GB, free: 2.543 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.0001413/0.409, allocations: 132.9 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.4091, allocations: 11.81 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.4091, allocations: 16.72 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.4091, allocations: 0 / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4091, allocations: 0 / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4091, allocations: 4 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.4094, allocations: 237.5 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4095, allocations: 4 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.4096, allocations: 23.97 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4096, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4096, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4096, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4096, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.41, allocations: 247.1 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.4101, allocations: 84.95 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.4101, allocations: 4 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.4103, allocations: 15.98 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.4103, allocations: 19.97 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.4104, allocations: 0 / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.302e-05/0.4105, allocations: 117.4 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4105, allocations: 0 / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002505/0.4107, allocations: 27.91 kB / 1.059 GB, free: 1.523 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.0001569/0.4109, allocations: 111.2 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003643/0.4112, allocations: 111.8 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4113, allocations: 0 / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.4114, allocations: 64.09 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.4118, allocations: 15.98 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.4125, allocations: 318.5 kB / 1.059 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.4128, allocations: 0.7126 MB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.473e-05/0.4129, allocations: 21.08 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.413, allocations: 15.44 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.413, allocations: 7.875 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of Templates: time 0.003771/0.4168, allocations: 1.108 MB / 1.061 GB, free: 15.04 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/jenkins/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