Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.001863/0.001863, 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.002438/0.002438, allocations: 215.7 kB / 22.25 MB, free: 4.852 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.789 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.302/3.302, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",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.002148/0.002148, allocations: 71.72 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3796, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004729/0.3844, allocations: 2.06 MB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003653/0.388, allocations: 1.737 MB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.3882, allocations: 4 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008782/0.3891, allocations: 206.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.3894, allocations: 71.3 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.3907, allocations: 423.2 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006474/0.3914, allocations: 418.7 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3915, allocations: 28.56 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.3918, allocations: 151.6 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.3921, allocations: 151.5 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-05/0.3922, allocations: 28 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.3927, allocations: 255.6 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.3929, allocations: 119.6 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.3931, allocations: 131.4 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008653/0.3939, allocations: 0.6034 MB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.394, allocations: 0 / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.954e-06/0.394, allocations: 4 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.394, allocations: 0 / 1.37 GB, free: 7.688 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001415/0.3954, allocations: 0.6422 MB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3954, allocations: 11.97 kB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.605e-05/0.3955, allocations: 38.75 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.3974, allocations: 180.5 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.398, allocations: 316.7 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.3982, allocations: 131.3 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.3982, allocations: 8.375 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3993, allocations: 463 kB / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3993, allocations: 3.984 kB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.3993, allocations: 8 kB / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3994, allocations: 0 / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.401, allocations: 0.6011 MB / 1.372 GB, free: 5.211 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.4031, allocations: 0.9675 MB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004965/0.4081, allocations: 0.8612 MB / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007981/0.4089, allocations: 308.6 kB / 1.374 GB, free: 3.023 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.4089, allocations: 4 kB / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.41, allocations: 465.7 kB / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/0.41, allocations: 0 / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002645/0.4127, allocations: 0.9499 MB / 1.375 GB, free: 1.598 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4127, allocations: 51.41 kB / 1.375 GB, free: 1.535 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/0.4133, allocations: 437.6 kB / 1.376 GB, free: 1.098 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.4134, allocations: 33.7 kB / 1.376 GB, free: 1.059 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.4135, allocations: 172.1 kB / 1.376 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.4136, allocations: 47.59 kB / 1.376 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.4138, allocations: 57.67 kB / 1.376 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4139, allocations: 354.7 kB / 1.376 GB, free: 432 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009587/0.4149, allocations: 430.3 kB / 1.377 GB, free: 15.99 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009284/0.4158, allocations: 421.5 kB / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.4174, allocations: 0.6215 MB / 1.378 GB, free: 14.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4174, allocations: 0 / 1.378 GB, free: 14.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002141/0.4196, allocations: 0.9573 MB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.4196, allocations: 45.69 kB / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4196, allocations: 0 / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4197, allocations: 0 / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.4202, allocations: 71.84 kB / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4202, allocations: 0 / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.4206, allocations: 47.89 kB / 1.379 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.4207, allocations: 15.97 kB / 1.379 GB, free: 13.78 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002724/0.4209, allocations: 185.8 kB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.421, allocations: 35.77 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.916e-05/0.4211, allocations: 39.41 kB / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4211, allocations: 4 kB / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4211, allocations: 0 / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4211, allocations: 3.938 kB / 1.379 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.4217, allocations: 484 kB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4217, allocations: 7.938 kB / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.4222, allocations: 67.84 kB / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4222, allocations: 0 / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.4223, allocations: 11.98 kB / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4223, allocations: 0 / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4223, allocations: 4 kB / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.424, allocations: 0.6761 MB / 1.38 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.4243, allocations: 95.67 kB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.4244, allocations: 8 kB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004863/0.4249, allocations: 47.94 kB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/0.4249, allocations: 19.91 kB / 1.381 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.425, allocations: 15.92 kB / 1.381 GB, free: 12.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003996/0.4254, allocations: 319.1 kB / 1.381 GB, free: 11.72 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.4254, allocations: 0 / 1.381 GB, free: 11.72 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003886/0.4258, allocations: 87.92 kB / 1.381 GB, free: 11.63 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00233/0.4281, allocations: 1.251 MB / 1.382 GB, free: 10.35 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002/0.4301, allocations: 0.803 MB / 1.383 GB, free: 9.531 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4301, allocations: 4 kB / 1.383 GB, free: 9.527 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008739/0.431, allocations: 331.7 kB / 1.383 GB, free: 9.203 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.4315, allocations: 77.27 kB / 1.383 GB, free: 9.129 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.4426, allocations: 6.304 MB / 1.39 GB, free: 2.711 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.4429, allocations: 210.1 kB / 1.39 GB, free: 2.488 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004353/0.4433, allocations: 110.2 kB / 1.39 GB, free: 2.379 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.4436, allocations: 99.38 kB / 1.39 GB, free: 2.281 MB / 1.076 GB Notification: Performance of SimCode: time 1.253e-06/0.4436, allocations: 0 / 1.39 GB, free: 2.281 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/0.4885, allocations: 12.11 MB / 1.402 GB, free: 6.395 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.82, allocations: 13.94 kB / 1.402 GB, free: 6.387 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.694584409706295]