Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001659/0.001659, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002174/0.002174, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.555/1.555, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.319/3.319, allocations: 0.4892 GB / 0.7943 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_12_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.002222/0.002222, allocations: 66.47 kB / 1.153 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3894, allocations: 176.1 MB / 1.325 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004296/0.3937, allocations: 2.08 MB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.397, allocations: 1.737 MB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.3972, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007835/0.398, allocations: 206.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.3981, allocations: 63.36 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3994, allocations: 429.5 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005897/0.4, allocations: 410.7 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.4001, allocations: 28.56 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.4003, allocations: 155.5 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.4006, allocations: 151.5 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/0.4006, allocations: 32 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005385/0.4012, allocations: 259.6 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.4013, allocations: 123.6 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.4015, allocations: 131.4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007816/0.4023, allocations: 0.5956 MB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4023, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4023, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.4023, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 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.001271/0.4036, allocations: 0.646 MB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4036, allocations: 12.03 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.4037, allocations: 42.69 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.4053, allocations: 168.5 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.4059, allocations: 308.7 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.406, allocations: 131.3 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.4061, allocations: 16.31 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.4071, allocations: 437.2 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4071, allocations: 3.938 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.4072, allocations: 4 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4072, allocations: 0 / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.4087, allocations: 0.5777 MB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.4107, allocations: 0.9405 MB / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/0.4155, allocations: 0.835 MB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007843/0.4163, allocations: 308.6 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.4163, allocations: 0 / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.4174, allocations: 443.2 kB / 1.336 GB, free: 6.906 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.4174, allocations: 0 / 1.336 GB, free: 6.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.00256/0.4199, allocations: 0.9245 MB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.42, allocations: 51.41 kB / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.4205, allocations: 433.6 kB / 1.337 GB, free: 5.477 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.4206, allocations: 33.7 kB / 1.337 GB, free: 5.438 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.4208, allocations: 180 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.4208, allocations: 51.58 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.421, allocations: 61.62 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4211, allocations: 342.8 kB / 1.338 GB, free: 4.797 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009081/0.4221, allocations: 422.4 kB / 1.338 GB, free: 4.375 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008668/0.4229, allocations: 410.9 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.4244, allocations: 0.6009 MB / 1.339 GB, free: 3.359 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4244, allocations: 0 / 1.339 GB, free: 3.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002013/0.4264, allocations: 0.9429 MB / 1.34 GB, free: 2.398 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.4265, allocations: 45.69 kB / 1.34 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4265, allocations: 0 / 1.34 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4265, allocations: 0 / 1.34 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.427, allocations: 63.92 kB / 1.34 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.427, allocations: 4 kB / 1.34 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.4274, allocations: 43.84 kB / 1.34 GB, free: 2.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.4274, allocations: 11.98 kB / 1.34 GB, free: 2.227 MB / 1.029 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.0002749/0.4277, allocations: 195 kB / 1.341 GB, free: 2.027 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.4278, allocations: 39.77 kB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.4279, allocations: 47.39 kB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4279, allocations: 0 / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4279, allocations: 4 kB / 1.341 GB, free: 1.938 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4279, allocations: 3.938 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.4284, allocations: 464.2 kB / 1.341 GB, free: 1.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4284, allocations: 0 / 1.341 GB, free: 1.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.4289, allocations: 67.91 kB / 1.341 GB, free: 1.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.4289, allocations: 0 / 1.341 GB, free: 1.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.4289, allocations: 15.92 kB / 1.341 GB, free: 1.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4289, allocations: 0 / 1.341 GB, free: 1.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4289, allocations: 0 / 1.341 GB, free: 1.355 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.4306, allocations: 0.6605 MB / 1.342 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.4308, allocations: 95.58 kB / 1.342 GB, free: 0.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.4309, allocations: 11.98 kB / 1.342 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.4313, allocations: 43.94 kB / 1.342 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.4314, allocations: 19.97 kB / 1.342 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.4315, allocations: 15.92 kB / 1.342 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003969/0.4319, allocations: 319.1 kB / 1.342 GB, free: 188 kB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4319, allocations: 0 / 1.342 GB, free: 188 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004061/0.4323, allocations: 79.94 kB / 1.342 GB, free: 108 kB / 1.029 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.002254/0.4345, allocations: 1.235 MB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.4365, allocations: 0.7896 MB / 1.344 GB, free: 14.03 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4365, allocations: 0 / 1.344 GB, free: 14.03 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008145/0.4373, allocations: 315.7 kB / 1.345 GB, free: 13.72 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.4378, allocations: 86.16 kB / 1.345 GB, free: 13.64 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4486, allocations: 6.254 MB / 1.351 GB, free: 7.266 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.4488, allocations: 206.1 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003899/0.4492, allocations: 98.25 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.4494, allocations: 99.38 kB / 1.351 GB, free: 6.852 MB / 1.045 GB Notification: Performance of SimCode: time 1.052e-06/0.4494, allocations: 4 kB / 1.351 GB, free: 6.848 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04565/0.4951, allocations: 12.03 MB / 1.363 GB, free: 11.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.9, allocations: 7.875 kB / 1.363 GB, free: 11.04 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.TConIn from file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.TEvaIn in file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.TEvaIn from file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.m_flow in file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.m_flow from file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.Q_flow[1] in file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.Q_flow[1] from file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.942156734876335]