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.001843/0.001843, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002039/0.002039, allocations: 214.2 kB / 22.25 MB, free: 5.082 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 8.039 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.19/3.19, allocations: 0.505 GB / 0.8101 GB, free: 22.11 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.001988/0.001988, allocations: 66.02 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3564, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003393/0.3598, allocations: 2.184 MB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00284/0.3626, allocations: 1.907 MB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3627, allocations: 0 / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.3634, allocations: 235 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.3635, allocations: 59.42 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3646, allocations: 434.5 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000541/0.3652, allocations: 422.7 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3653, allocations: 24.58 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.3655, allocations: 155.6 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.3657, allocations: 163.4 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.3658, allocations: 28 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.3663, allocations: 275.6 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.3665, allocations: 123.6 kB / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.3666, allocations: 163.2 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000739/0.3674, allocations: 0.5995 MB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3674, allocations: 0 / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3674, allocations: 0 / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.3674, allocations: 0 / 1.359 GB, free: 1.73 MB / 1.045 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.001278/0.3687, allocations: 0.6383 MB / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3687, allocations: 12.02 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.3688, allocations: 42.75 kB / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.3707, allocations: 180.5 kB / 1.36 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000536/0.3713, allocations: 320.7 kB / 1.361 GB, free: 492 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.3714, allocations: 127.3 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.3715, allocations: 8.375 kB / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3725, allocations: 457.1 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3726, allocations: 0 / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.3726, allocations: 8 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.3726, allocations: 4 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.3742, allocations: 0.6049 MB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.3762, allocations: 1.045 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005003/0.3812, allocations: 0.8572 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.382, allocations: 312.6 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.382, allocations: 4 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.383, allocations: 451 kB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.383, allocations: 0 / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002483/0.3855, allocations: 0.95 MB / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.3856, allocations: 59.34 kB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005804/0.3862, allocations: 441.6 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.3862, allocations: 33.7 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.3864, allocations: 164.1 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/0.3865, allocations: 55.58 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3866, allocations: 57.66 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.3868, allocations: 346.8 kB / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/0.3876, allocations: 388.6 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/0.3885, allocations: 387.8 kB / 1.367 GB, free: 9.633 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.39, allocations: 0.6207 MB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.39, allocations: 3.938 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001994/0.392, allocations: 0.9262 MB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.3921, allocations: 45.69 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3921, allocations: 0 / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3921, allocations: 3.984 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.3926, allocations: 71.91 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3926, allocations: 0 / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.3931, allocations: 47.89 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.3931, allocations: 15.97 kB / 1.369 GB, free: 7.875 MB / 1.061 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.0003135/0.3934, allocations: 191.2 kB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.3935, allocations: 43.75 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.3936, allocations: 35.41 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3936, allocations: 4 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3936, allocations: 0 / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3936, allocations: 3.938 kB / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.3942, allocations: 0.5313 MB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3942, allocations: 4 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.3947, allocations: 59.92 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3947, allocations: 0 / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.3947, allocations: 15.97 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3947, allocations: 0 / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3947, allocations: 4 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.3963, allocations: 0.6782 MB / 1.37 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.3966, allocations: 99.62 kB / 1.37 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.3966, allocations: 4 kB / 1.37 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.3971, allocations: 43.94 kB / 1.37 GB, free: 6.098 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.3972, allocations: 23.95 kB / 1.37 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.453e-05/0.3972, allocations: 19.92 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003514/0.3975, allocations: 323 kB / 1.371 GB, free: 5.738 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3975, allocations: 0 / 1.371 GB, free: 5.738 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003768/0.3979, allocations: 75.94 kB / 1.371 GB, free: 5.664 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: 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.002027/0.4, allocations: 1.243 MB / 1.372 GB, free: 4.391 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.4017, allocations: 0.7723 MB / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4017, allocations: 0 / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000798/0.4025, allocations: 327.8 kB / 1.373 GB, free: 3.285 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.403, allocations: 85.3 kB / 1.373 GB, free: 3.203 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009944/0.4129, allocations: 6.155 MB / 1.379 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.4133, allocations: 0.8181 MB / 1.38 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000393/0.4137, allocations: 106.2 kB / 1.38 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.414, allocations: 103.4 kB / 1.38 GB, free: 11.9 MB / 1.076 GB Notification: Performance of SimCode: time 8.72e-07/0.414, allocations: 0 / 1.38 GB, free: 11.9 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03945/0.4534, allocations: 11.08 MB / 1.391 GB, free: 1.016 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.43, allocations: 9.938 kB / 1.391 GB, free: 1.008 MB / 1.076 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.376843011000346]