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.001707/0.001707, allocations: 111 kB / 16.46 MB, free: 6.453 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.00217/0.00217, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.577/1.577, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.357/3.357, allocations: 0.505 GB / 0.8066 GB, free: 23.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.002338/0.002338, allocations: 64.92 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3838, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003786/0.3876, allocations: 2.17 MB / 1.35 GB, free: 7.812 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003203/0.3908, allocations: 1.896 MB / 1.352 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3909, allocations: 8 kB / 1.352 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.3917, allocations: 227 kB / 1.352 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.3918, allocations: 63.42 kB / 1.352 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.393, allocations: 423.1 kB / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005586/0.3935, allocations: 406.8 kB / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3936, allocations: 32.39 kB / 1.353 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3938, allocations: 159.5 kB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.3941, allocations: 163.4 kB / 1.353 GB, free: 4.461 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.3941, allocations: 24 kB / 1.353 GB, free: 4.438 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.3945, allocations: 247.7 kB / 1.353 GB, free: 4.195 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.3947, allocations: 115.6 kB / 1.354 GB, free: 4.082 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.3949, allocations: 171.2 kB / 1.354 GB, free: 3.914 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008026/0.3957, allocations: 0.5917 MB / 1.354 GB, free: 3.32 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3957, allocations: 0 / 1.354 GB, free: 3.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3957, allocations: 0 / 1.354 GB, free: 3.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.3957, allocations: 0 / 1.354 GB, free: 3.32 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.001419/0.3972, allocations: 0.7175 MB / 1.355 GB, free: 2.547 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.3972, allocations: 15.98 kB / 1.355 GB, free: 2.531 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.3973, allocations: 38.75 kB / 1.355 GB, free: 2.484 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.3992, allocations: 180.5 kB / 1.355 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.3998, allocations: 378.5 kB / 1.356 GB, free: 1.902 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.3999, allocations: 75.94 kB / 1.356 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.3999, allocations: 8.375 kB / 1.356 GB, free: 1.809 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.401, allocations: 453.1 kB / 1.356 GB, free: 1.359 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.401, allocations: 0 / 1.356 GB, free: 1.359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.4011, allocations: 12 kB / 1.356 GB, free: 1.348 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4011, allocations: 7.922 kB / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.4029, allocations: 0.6011 MB / 1.357 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.4049, allocations: 1.07 MB / 1.358 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005194/0.4101, allocations: 0.8612 MB / 1.359 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008155/0.4109, allocations: 308.6 kB / 1.359 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.4109, allocations: 4 kB / 1.359 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.412, allocations: 458.9 kB / 1.359 GB, free: 13.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.225e-06/0.412, allocations: 4 kB / 1.359 GB, free: 13.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002724/0.4147, allocations: 0.9441 MB / 1.36 GB, free: 13.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.4148, allocations: 55.41 kB / 1.36 GB, free: 12.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.4153, allocations: 441.6 kB / 1.361 GB, free: 12.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.4154, allocations: 29.7 kB / 1.361 GB, free: 12.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.4155, allocations: 176.1 kB / 1.361 GB, free: 12.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.4156, allocations: 51.59 kB / 1.361 GB, free: 12.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.4157, allocations: 49.67 kB / 1.361 GB, free: 12.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4159, allocations: 354.7 kB / 1.361 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.4168, allocations: 388.6 kB / 1.362 GB, free: 11.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009304/0.4178, allocations: 390.4 kB / 1.362 GB, free: 11.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.4194, allocations: 0.6192 MB / 1.363 GB, free: 10.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4194, allocations: 3.938 kB / 1.363 GB, free: 10.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002156/0.4215, allocations: 0.9204 MB / 1.364 GB, free: 9.516 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.4216, allocations: 43.09 kB / 1.364 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4216, allocations: 0 / 1.364 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4216, allocations: 4 kB / 1.364 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.4222, allocations: 71.84 kB / 1.364 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4222, allocations: 0 / 1.364 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.4226, allocations: 47.89 kB / 1.364 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.4227, allocations: 11.98 kB / 1.364 GB, free: 9.336 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.0002852/0.423, allocations: 189.8 kB / 1.364 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-05/0.423, allocations: 35.77 kB / 1.364 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.4231, allocations: 39.47 kB / 1.364 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4231, allocations: 4 kB / 1.364 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4231, allocations: 0 / 1.364 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4231, allocations: 7.922 kB / 1.364 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.4238, allocations: 0.5557 MB / 1.365 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4238, allocations: 4 kB / 1.365 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.4243, allocations: 67.84 kB / 1.365 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4243, allocations: 4 kB / 1.365 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.4243, allocations: 11.98 kB / 1.365 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4243, allocations: 0 / 1.365 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4243, allocations: 0 / 1.365 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.4261, allocations: 0.6762 MB / 1.365 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.4264, allocations: 180.7 kB / 1.365 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.4264, allocations: 4 kB / 1.365 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.4269, allocations: 43.94 kB / 1.365 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.427, allocations: 19.97 kB / 1.366 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.427, allocations: 19.86 kB / 1.366 GB, free: 7.391 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003795/0.4274, allocations: 327 kB / 1.366 GB, free: 7.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4274, allocations: 0 / 1.366 GB, free: 7.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003872/0.4278, allocations: 79.94 kB / 1.366 GB, free: 6.992 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.00228/0.4301, allocations: 1.247 MB / 1.367 GB, free: 5.715 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.432, allocations: 0.7684 MB / 1.368 GB, free: 4.934 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.432, allocations: 0 / 1.368 GB, free: 4.934 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008812/0.4329, allocations: 327.7 kB / 1.368 GB, free: 4.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.4334, allocations: 77.39 kB / 1.368 GB, free: 4.539 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.4442, allocations: 6.16 MB / 1.374 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.4447, allocations: 0.8141 MB / 1.375 GB, free: 13.44 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004066/0.4451, allocations: 106.2 kB / 1.375 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.4453, allocations: 111.3 kB / 1.375 GB, free: 13.23 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/0.4453, allocations: 0 / 1.375 GB, free: 13.23 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04938/0.4947, allocations: 10.89 MB / 1.386 GB, free: 2.555 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/8.981, allocations: 4.609 kB / 1.386 GB, free: 2.555 MB / 1.076 GB " [Timeout remaining time 291] (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: 16.266439576866105]