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.001879/0.001879, 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.002454/0.002454, allocations: 211.4 kB / 22.24 MB, free: 4.859 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.568/1.568, 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.292/3.292, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002092/0.002092, allocations: 67.39 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3591, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003709/0.3628, allocations: 2.071 MB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002987/0.3658, allocations: 1.752 MB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3659, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007103/0.3666, allocations: 202.8 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.3668, allocations: 67.41 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3679, allocations: 426.2 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005762/0.3685, allocations: 422.7 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3686, allocations: 20.58 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.3688, allocations: 155.6 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.369, allocations: 151.4 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.369, allocations: 28 kB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.3695, allocations: 259.6 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.3697, allocations: 115.7 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.3698, allocations: 135.4 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007321/0.3706, allocations: 0.5956 MB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3706, allocations: 0 / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3706, allocations: 4 kB / 1.37 GB, free: 7.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3706, allocations: 0 / 1.37 GB, free: 7.73 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.001269/0.3719, allocations: 0.646 MB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3719, allocations: 8.031 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/0.372, allocations: 42.75 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.3739, allocations: 176.5 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.3744, allocations: 316.8 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.3746, allocations: 135.3 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.3746, allocations: 8.375 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3757, allocations: 455.6 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3757, allocations: 0 / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.3757, allocations: 4 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.3758, allocations: 11.98 kB / 1.371 GB, free: 5.855 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.3774, allocations: 0.6011 MB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.3794, allocations: 0.9713 MB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00489/0.3843, allocations: 0.8612 MB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000804/0.3851, allocations: 312.6 kB / 1.374 GB, free: 3.059 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.3851, allocations: 4 kB / 1.374 GB, free: 3.055 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.3862, allocations: 454.9 kB / 1.374 GB, free: 2.598 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.845e-06/0.3862, allocations: 0 / 1.374 GB, free: 2.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002749/0.3889, allocations: 0.9538 MB / 1.375 GB, free: 1.637 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.389, allocations: 59.41 kB / 1.375 GB, free: 1.566 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.3896, allocations: 429.6 kB / 1.376 GB, free: 1.137 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.44e-05/0.3896, allocations: 33.7 kB / 1.376 GB, free: 1.098 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3898, allocations: 172 kB / 1.376 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.3899, allocations: 47.59 kB / 1.376 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.39, allocations: 53.67 kB / 1.376 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3902, allocations: 354.7 kB / 1.376 GB, free: 476 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009343/0.3911, allocations: 426.3 kB / 1.377 GB, free: 40 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009022/0.392, allocations: 413.7 kB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.3936, allocations: 0.6329 MB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3936, allocations: 0 / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002066/0.3957, allocations: 0.9612 MB / 1.379 GB, free: 14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.3957, allocations: 41.69 kB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3958, allocations: 4 kB / 1.379 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3958, allocations: 0 / 1.379 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.3964, allocations: 71.86 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3964, allocations: 0 / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.3968, allocations: 51.83 kB / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.3969, allocations: 15.98 kB / 1.379 GB, free: 13.82 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.0002782/0.3971, allocations: 187.1 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.3972, allocations: 31.81 kB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.3973, allocations: 39.41 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3973, allocations: 3.938 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3973, allocations: 0 / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3973, allocations: 7.922 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.3979, allocations: 476 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.3979, allocations: 3.984 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.3983, allocations: 67.86 kB / 1.38 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3984, allocations: 4 kB / 1.38 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.3984, allocations: 7.984 kB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.3984, allocations: 7.984 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3984, allocations: 0 / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.4001, allocations: 0.6785 MB / 1.38 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.4004, allocations: 91.67 kB / 1.381 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.4004, allocations: 8 kB / 1.381 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.4009, allocations: 47.94 kB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.401, allocations: 15.97 kB / 1.381 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.401, allocations: 23.91 kB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003699/0.4014, allocations: 319.1 kB / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4014, allocations: 3.938 kB / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003859/0.4018, allocations: 83.89 kB / 1.381 GB, free: 11.68 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.00225/0.404, allocations: 1.243 MB / 1.382 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.4059, allocations: 0.8052 MB / 1.383 GB, free: 9.578 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4059, allocations: 7.938 kB / 1.383 GB, free: 9.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008363/0.4068, allocations: 331.7 kB / 1.383 GB, free: 9.246 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.4072, allocations: 77.31 kB / 1.383 GB, free: 9.172 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.4178, allocations: 6.316 MB / 1.39 GB, free: 2.746 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.418, allocations: 206.1 kB / 1.39 GB, free: 2.527 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000433/0.4185, allocations: 110.2 kB / 1.39 GB, free: 2.418 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.4187, allocations: 111.3 kB / 1.39 GB, free: 2.309 MB / 1.076 GB Notification: Performance of SimCode: time 9.72e-07/0.4187, allocations: 0 / 1.39 GB, free: 2.309 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.465, allocations: 12.09 MB / 1.402 GB, free: 6.434 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.83, allocations: 10.39 kB / 1.402 GB, free: 6.426 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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] "Error: Could not read variable cooCap.TConIn in file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.TConIn from file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.TEvaIn in file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.TEvaIn from file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.m_flow in file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.m_flow from file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.Q_flow[1] in file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.Q_flow[1] from file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.933517845813185]