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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 213.9 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.276/3.276, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 71.56 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3641, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002411/0.3665, allocations: 0.9697 MB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3679, allocations: 1.008 MB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.368, allocations: 0 / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.57e-05/0.3681, allocations: 19.73 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3682, allocations: 27.73 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.3685, allocations: 71.86 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.3687, allocations: 164.1 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.3689, allocations: 60.69 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.3691, allocations: 83.64 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3692, allocations: 67.62 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.3693, allocations: 16 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/0.3693, allocations: 23.98 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.3694, allocations: 39.84 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.3694, allocations: 59.72 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.3698, allocations: 227.3 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3698, allocations: 3.984 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3698, allocations: 7.938 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.3698, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 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.0007305/0.3705, allocations: 369.7 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3706, allocations: 12.03 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.941e-05/0.3706, allocations: 46.73 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.3708, allocations: 32.72 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.3712, allocations: 194.2 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.3712, allocations: 16.38 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.3713, allocations: 12.38 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.3716, allocations: 150 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3716, allocations: 3.938 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3717, allocations: 4 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.3717, allocations: 4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.372, allocations: 123.8 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.3727, allocations: 427.4 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.3731, allocations: 110.6 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.3732, allocations: 52.81 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3732, allocations: 0 / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.3733, allocations: 34.56 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.3733, allocations: 0 / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0005621/0.3738, allocations: 169.5 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3739, allocations: 67.33 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.374, allocations: 152.4 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3741, allocations: 25.7 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.3742, allocations: 128.3 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.3742, allocations: 27.75 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.3743, allocations: 45.69 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3744, allocations: 322.8 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3746, allocations: 51.91 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3747, allocations: 73.78 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.375, allocations: 103.3 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.375, allocations: 4 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003793/0.3754, allocations: 153.5 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3754, allocations: 4 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3754, allocations: 0 / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.3755, allocations: 7.984 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.3756, allocations: 31.86 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3756, allocations: 7.984 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.923e-05/0.3757, allocations: 19.97 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.3757, allocations: 4 kB / 1.369 GB, free: 8.09 MB / 1.061 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.0001223/0.3759, allocations: 137.7 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.3759, allocations: 11.94 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.3759, allocations: 20.7 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3759, allocations: 0 / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3759, allocations: 3.938 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3759, allocations: 0 / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.3762, allocations: 208.6 kB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3762, allocations: 0 / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.3763, allocations: 19.98 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3763, allocations: 0 / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3763, allocations: 3.984 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3763, allocations: 0 / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3763, allocations: 0 / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.3767, allocations: 235.9 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.3768, allocations: 23.78 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3768, allocations: 4 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3769, allocations: 7.984 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.377, allocations: 19.97 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.377, allocations: 4 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.815e-05/0.3771, allocations: 117.5 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3771, allocations: 0 / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002618/0.3773, allocations: 19.95 kB / 1.37 GB, free: 7.199 MB / 1.061 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.0007858/0.3781, allocations: 0.7764 MB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.3785, allocations: 111.8 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3785, allocations: 0 / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.3787, allocations: 51.97 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.379, allocations: 24.11 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.3816, allocations: 1.742 MB / 1.372 GB, free: 4.371 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.3817, allocations: 115.2 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.214e-05/0.3818, allocations: 17.08 kB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.3819, allocations: 47.42 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.3819, allocations: 0 / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.4128, allocations: 3.32 MB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 10.77 kB / 1.376 GB, free: 1.043 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.565602188929915]