Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001893/0.001893, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002424/0.002424, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.988 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.257/3.257, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",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.00212/0.00212, allocations: 71.59 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3546, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005587/0.3602, allocations: 2.935 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004195/0.3644, allocations: 2.292 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.3646, allocations: 4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008831/0.3655, allocations: 258.6 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.3658, allocations: 71.3 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.3674, allocations: 0.5 MB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00086/0.3682, allocations: 0.5181 MB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.3684, allocations: 36.84 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.3687, allocations: 203.5 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.3691, allocations: 215.2 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.3692, allocations: 36 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005952/0.3698, allocations: 295.6 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.3701, allocations: 155.6 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.3703, allocations: 214.8 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3714, allocations: 0.7552 MB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3714, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3714, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.3714, allocations: 4 kB / 1.334 GB, free: 9.441 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001809/0.3732, allocations: 0.776 MB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3733, allocations: 12.03 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.07e-05/0.3734, allocations: 46.73 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.3756, allocations: 232.4 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.3764, allocations: 380.4 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.3766, allocations: 135.3 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/0.3766, allocations: 16.38 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.378, allocations: 0.5362 MB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.378, allocations: 3.984 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.378, allocations: 7.938 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.378, allocations: 4 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.3801, allocations: 0.7533 MB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.3827, allocations: 1.237 MB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005687/0.3884, allocations: 0.9977 MB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.3895, allocations: 394 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3895, allocations: 3.984 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.3908, allocations: 0.5312 MB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.985e-06/0.3908, allocations: 0 / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.00343/0.3943, allocations: 1.182 MB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.3943, allocations: 55.41 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007809/0.3951, allocations: 0.5252 MB / 1.342 GB, free: 1.441 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.479e-05/0.3952, allocations: 33.7 kB / 1.342 GB, free: 1.402 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.3954, allocations: 200.4 kB / 1.342 GB, free: 1.203 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.3955, allocations: 75.42 kB / 1.342 GB, free: 1.129 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3957, allocations: 65.66 kB / 1.342 GB, free: 1.059 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3959, allocations: 354.8 kB / 1.342 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.397, allocations: 464.5 kB / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.3982, allocations: 0.499 MB / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.4002, allocations: 0.7574 MB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4002, allocations: 0 / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002592/0.4028, allocations: 1.083 MB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.286e-05/0.4029, allocations: 39.41 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4029, allocations: 7.938 kB / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4029, allocations: 0 / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.4036, allocations: 95.83 kB / 1.345 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4036, allocations: 0 / 1.345 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.4042, allocations: 67.81 kB / 1.345 GB, free: 13.67 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.4042, allocations: 11.98 kB / 1.345 GB, free: 13.66 MB / 1.045 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 (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.0003525/0.4046, allocations: 211.5 kB / 1.346 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4047, allocations: 43.72 kB / 1.346 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.4048, allocations: 59.94 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4048, allocations: 4 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4048, allocations: 0 / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4048, allocations: 0 / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.4056, allocations: 0.6247 MB / 1.346 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4056, allocations: 0 / 1.346 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000629/0.4063, allocations: 91.83 kB / 1.346 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.4063, allocations: 3.938 kB / 1.346 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.4063, allocations: 15.92 kB / 1.346 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4063, allocations: 0 / 1.346 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4063, allocations: 0 / 1.346 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.4086, allocations: 0.8362 MB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.4089, allocations: 111.6 kB / 1.347 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.409e-05/0.409, allocations: 11.92 kB / 1.347 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.4096, allocations: 63.92 kB / 1.347 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.4097, allocations: 35.88 kB / 1.347 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.4097, allocations: 11.98 kB / 1.348 GB, free: 11.48 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005254/0.4102, allocations: 391.1 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4102, allocations: 0 / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004809/0.4107, allocations: 95.94 kB / 1.348 GB, free: 11 MB / 1.045 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 (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.002724/0.4134, allocations: 1.426 MB / 1.349 GB, free: 9.547 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002413/0.4159, allocations: 0.9227 MB / 1.35 GB, free: 8.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4159, allocations: 0 / 1.35 GB, free: 8.613 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.4169, allocations: 411.6 kB / 1.351 GB, free: 8.211 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.4176, allocations: 97.72 kB / 1.351 GB, free: 8.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.4313, allocations: 7.309 MB / 1.358 GB, free: 0.707 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.4319, allocations: 0.858 MB / 1.359 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000488/0.4324, allocations: 134.9 kB / 1.359 GB, free: 15.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.4327, allocations: 139.4 kB / 1.359 GB, free: 15.55 MB / 1.061 GB Notification: Performance of SimCode: time 9.41e-07/0.4327, allocations: 0 / 1.359 GB, free: 15.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/0.4783, allocations: 13.56 MB / 1.372 GB, free: 2.238 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.23, allocations: 3.219 kB / 1.372 GB, free: 2.238 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.056290284032002]