Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.0008713/0.0008713, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001101/0.001101, allocations: 220.3 kB / 23.03 MB, free: 2.953 MB / 13.93 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.074/1.074, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.953/1.953, allocations: 0.5045 GB / 0.8104 GB, free: 2.758 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 64.08 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8771/0.8785, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003351/0.8819, allocations: 2.706 MB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.8844, allocations: 2.06 MB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.8846, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006817/0.8853, allocations: 230.7 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.8854, allocations: 79.23 kB / 1.357 GB, free: 12.58 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009233/0.8863, allocations: 493.5 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000471/0.8868, allocations: 0.5111 MB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.8869, allocations: 39.2 kB / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.8871, allocations: 195.5 kB / 1.359 GB, free: 11.37 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.8873, allocations: 211.3 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/0.8874, allocations: 36 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.8877, allocations: 271.6 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.8878, allocations: 163.5 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.888, allocations: 171.2 kB / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.8886, allocations: 0.7591 MB / 1.36 GB, free: 9.77 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8886, allocations: 3.938 kB / 1.36 GB, free: 9.766 MB / 1.042 GB Notification: Performance of FrontEnd: time 4.829e-06/0.8886, allocations: 4 kB / 1.36 GB, free: 9.762 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.8887, allocations: 0 / 1.36 GB, free: 9.762 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001056/0.8897, allocations: 0.7644 MB / 1.361 GB, free: 8.953 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.8898, allocations: 12.91 kB / 1.361 GB, free: 8.941 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.8898, allocations: 42.75 kB / 1.361 GB, free: 8.891 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.8911, allocations: 272.3 kB / 1.361 GB, free: 8.625 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.8915, allocations: 376.5 kB / 1.362 GB, free: 8.234 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.8916, allocations: 139.3 kB / 1.362 GB, free: 8.074 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.8917, allocations: 12.38 kB / 1.362 GB, free: 8.062 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007812/0.8924, allocations: 0.5504 MB / 1.362 GB, free: 7.508 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.8924, allocations: 3.938 kB / 1.362 GB, free: 7.504 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.8925, allocations: 4 kB / 1.362 GB, free: 7.5 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.8925, allocations: 7.984 kB / 1.362 GB, free: 7.492 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.8937, allocations: 0.8001 MB / 1.363 GB, free: 6.691 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.8952, allocations: 1.178 MB / 1.364 GB, free: 5.469 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.8977, allocations: 1.033 MB / 1.365 GB, free: 4.426 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.8982, allocations: 408.5 kB / 1.366 GB, free: 4.023 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.8982, allocations: 4 kB / 1.366 GB, free: 4.02 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007319/0.899, allocations: 0.5379 MB / 1.366 GB, free: 3.469 MB / 1.042 GB Notification: Performance of pre-optimization done (n=21): time 4.599e-06/0.899, allocations: 0 / 1.366 GB, free: 3.469 MB / 1.042 GB Notification: Performance of matching and sorting (n=21): time 0.00184/0.9008, allocations: 1.241 MB / 1.367 GB, free: 2.223 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.9009, allocations: 55.41 kB / 1.367 GB, free: 2.156 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/0.9013, allocations: 0.5213 MB / 1.368 GB, free: 1.625 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.9014, allocations: 37.69 kB / 1.368 GB, free: 1.582 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.9015, allocations: 200.5 kB / 1.368 GB, free: 1.379 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 6.394e-05/0.9016, allocations: 67.44 kB / 1.368 GB, free: 1.312 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.9017, allocations: 77.58 kB / 1.368 GB, free: 1.23 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9018, allocations: 358.8 kB / 1.369 GB, free: 0.8711 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.9024, allocations: 0.4896 MB / 1.369 GB, free: 384 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007774/0.9032, allocations: 0.5737 MB / 1.37 GB, free: 15.79 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.9042, allocations: 0.7949 MB / 1.37 GB, free: 14.98 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.9042, allocations: 0 / 1.37 GB, free: 14.98 MB / 1.057 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001527/0.9058, allocations: 1.155 MB / 1.372 GB, free: 13.81 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.9058, allocations: 37.69 kB / 1.372 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.9058, allocations: 7.938 kB / 1.372 GB, free: 13.76 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.9059, allocations: 0 / 1.372 GB, free: 13.76 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.9062, allocations: 99.81 kB / 1.372 GB, free: 13.66 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.9062, allocations: 0 / 1.372 GB, free: 13.66 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.9065, allocations: 71.81 kB / 1.372 GB, free: 13.59 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.9065, allocations: 15.97 kB / 1.372 GB, free: 13.57 MB / 1.057 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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.0002863/0.9068, allocations: 209.8 kB / 1.372 GB, free: 13.36 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.9069, allocations: 47.66 kB / 1.372 GB, free: 13.31 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.9069, allocations: 55.95 kB / 1.372 GB, free: 13.25 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.9069, allocations: 0 / 1.372 GB, free: 13.25 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9069, allocations: 0 / 1.372 GB, free: 13.25 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.9069, allocations: 3.984 kB / 1.372 GB, free: 13.25 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.9074, allocations: 0.5472 MB / 1.373 GB, free: 12.66 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.9074, allocations: 0 / 1.373 GB, free: 12.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.9077, allocations: 95.81 kB / 1.373 GB, free: 12.57 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.9077, allocations: 3.938 kB / 1.373 GB, free: 12.56 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.9077, allocations: 15.97 kB / 1.373 GB, free: 12.55 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.9077, allocations: 8 kB / 1.373 GB, free: 12.54 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9077, allocations: 4 kB / 1.373 GB, free: 12.54 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.9089, allocations: 0.8774 MB / 1.374 GB, free: 11.64 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.9091, allocations: 123.5 kB / 1.374 GB, free: 11.52 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.9091, allocations: 11.94 kB / 1.374 GB, free: 11.51 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.9094, allocations: 67.86 kB / 1.374 GB, free: 11.44 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.9095, allocations: 23.95 kB / 1.374 GB, free: 11.42 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.9095, allocations: 19.97 kB / 1.374 GB, free: 11.4 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003663/0.9099, allocations: 387.1 kB / 1.374 GB, free: 11.03 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9099, allocations: 0 / 1.374 GB, free: 11.03 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003233/0.9102, allocations: 95.94 kB / 1.374 GB, free: 10.93 MB / 1.057 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.001525/0.9117, allocations: 1.461 MB / 1.376 GB, free: 9.445 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.9131, allocations: 0.9926 MB / 1.377 GB, free: 8.434 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9131, allocations: 3.938 kB / 1.377 GB, free: 8.43 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.9137, allocations: 431.6 kB / 1.377 GB, free: 8.008 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.914, allocations: 91.66 kB / 1.377 GB, free: 7.918 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007732/0.9218, allocations: 7.558 MB / 1.385 GB, free: 252 kB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.922, allocations: 249 kB / 1.385 GB, free: 15.98 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0003637/0.9223, allocations: 150.9 kB / 1.385 GB, free: 15.84 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.9225, allocations: 135.4 kB / 1.385 GB, free: 15.7 MB / 1.073 GB Notification: Performance of SimCode: time 9.72e-07/0.9225, allocations: 0 / 1.385 GB, free: 15.7 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09268/1.015, allocations: 14.86 MB / 1.4 GB, free: 1.105 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/8.011, allocations: 14.44 kB / 1.4 GB, free: 1.094 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.248349897563457]