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.001438/0.001438, allocations: 112.6 kB / 16.37 MB, free: 6 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.001267/0.001267, allocations: 196 kB / 17.31 MB, free: 5.613 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 64.56 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3976, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002826/0.4005, allocations: 1.032 MB / 1.028 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.4019, allocations: 0.9753 MB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.4021, allocations: 7.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.194e-05/0.4021, allocations: 11.81 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.4023, allocations: 27.64 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.4026, allocations: 67.88 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.4028, allocations: 164.1 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.4032, allocations: 97.22 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.4034, allocations: 71.7 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.4035, allocations: 75.62 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.4036, allocations: 16 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.4037, allocations: 20 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.4038, allocations: 39.84 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.987e-05/0.4039, allocations: 71.61 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.4042, allocations: 227.1 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.4042, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4042, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.026e-06/0.4042, allocations: 0 / 1.03 GB, free: 15.11 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.0009068/0.4051, allocations: 450.9 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4052, allocations: 8.031 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.4052, allocations: 16.75 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.4057, allocations: 255.9 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.4059, allocations: 12.38 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.4059, allocations: 16.38 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.4063, allocations: 150.6 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4063, allocations: 4.125 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.4063, allocations: 11.88 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4063, allocations: 4 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.4067, allocations: 119.9 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.4074, allocations: 488.1 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.4078, allocations: 122.6 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.4079, allocations: 52.81 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.408, allocations: 7.984 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.408, allocations: 34.56 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.408, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.000583/0.4086, allocations: 169.8 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.4087, allocations: 55.41 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.4089, allocations: 156.6 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.4089, allocations: 25.7 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.4091, allocations: 128.2 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.4091, allocations: 31.55 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/0.4092, allocations: 37.7 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000241/0.4094, allocations: 326.8 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.4096, allocations: 43.97 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.4098, allocations: 77.92 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.4101, allocations: 107.4 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4101, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003754/0.4105, allocations: 161.3 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4105, allocations: 4 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4105, allocations: 4 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4105, allocations: 0 / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.4107, allocations: 27.92 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.4107, allocations: 0 / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.4108, allocations: 23.92 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.4109, allocations: 8 kB / 1.033 GB, free: 11.78 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.0001678/0.411, allocations: 137.7 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.4111, allocations: 11.89 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.4111, allocations: 20.7 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4111, allocations: 0 / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4111, allocations: 0 / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4112, allocations: 4 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.4115, allocations: 233.5 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4115, allocations: 4 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.4116, allocations: 23.97 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4116, allocations: 0 / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4116, allocations: 7.938 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4116, allocations: 0 / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4116, allocations: 0 / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.4121, allocations: 243.1 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.4121, allocations: 88.95 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.4122, allocations: 4 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4123, allocations: 7.984 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.4124, allocations: 19.98 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4124, allocations: 7.984 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.266e-05/0.4125, allocations: 113.1 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4125, allocations: 0 / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002586/0.4128, allocations: 27.91 kB / 1.034 GB, free: 10.75 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.0001795/0.413, allocations: 112.9 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.4134, allocations: 111.8 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4134, allocations: 0 / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.4136, allocations: 68.08 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.4139, allocations: 9.422 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008071/0.4147, allocations: 269.6 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.4152, allocations: 0.7162 MB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.247e-05/0.4153, allocations: 21.08 kB / 1.035 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.4154, allocations: 27.36 kB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of SimCode: time 8.12e-07/0.4154, allocations: 0 / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of Templates: time 0.004635/0.4201, allocations: 1.245 MB / 1.036 GB, free: 8.172 MB / 0.8106 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 -s cvode -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