Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001317/0.001317, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001528/0.001528, allocations: 215.6 kB / 22.25 MB, free: 5.117 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 8.023 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.238/3.238, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_latest_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.002059/0.002059, allocations: 63.69 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3446, allocations: 180.2 MB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005256/0.3499, allocations: 2.942 MB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003911/0.3538, allocations: 2.278 MB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.3539, allocations: 3.938 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008885/0.3548, allocations: 266.6 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.355, allocations: 71.28 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.3564, allocations: 0.4951 MB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007831/0.3572, allocations: 0.5103 MB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3573, allocations: 36.84 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.3576, allocations: 203.4 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.358, allocations: 223.3 kB / 1.36 GB, free: 1.367 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.272e-05/0.3581, allocations: 36 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.3587, allocations: 287.6 kB / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.3589, allocations: 167.5 kB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.3592, allocations: 210.9 kB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009399/0.3601, allocations: 0.7552 MB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3601, allocations: 0 / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3601, allocations: 0 / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.3601, allocations: 0 / 1.361 GB, free: 15.92 MB / 1.061 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.001468/0.3616, allocations: 0.776 MB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3616, allocations: 8.031 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.3617, allocations: 54.67 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/0.3642, allocations: 264.4 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/0.3648, allocations: 388.4 kB / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.365, allocations: 139.3 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.365, allocations: 12.38 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3664, allocations: 0.568 MB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3664, allocations: 0 / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.3664, allocations: 8 kB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.3664, allocations: 0 / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.3686, allocations: 0.8078 MB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.3712, allocations: 1.287 MB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005192/0.3764, allocations: 1.033 MB / 1.366 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.3774, allocations: 412.5 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.3774, allocations: 4 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/0.3788, allocations: 0.5555 MB / 1.367 GB, free: 9.457 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 3.296e-06/0.3788, allocations: 0 / 1.367 GB, free: 9.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.003474/0.3823, allocations: 1.24 MB / 1.368 GB, free: 8.211 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.3823, allocations: 63.34 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.3831, allocations: 0.5135 MB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.798e-05/0.3831, allocations: 41.69 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.3833, allocations: 204.5 kB / 1.369 GB, free: 7.363 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.3834, allocations: 71.38 kB / 1.369 GB, free: 7.293 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.3836, allocations: 69.64 kB / 1.369 GB, free: 7.219 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3838, allocations: 354.8 kB / 1.37 GB, free: 6.863 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.385, allocations: 484.5 kB / 1.37 GB, free: 6.387 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.3861, allocations: 0.5191 MB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.3881, allocations: 0.7934 MB / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3881, allocations: 0 / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002542/0.3906, allocations: 1.125 MB / 1.373 GB, free: 3.926 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.3907, allocations: 41.69 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3907, allocations: 3.938 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.3907, allocations: 7.984 kB / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.3914, allocations: 91.88 kB / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3914, allocations: 0 / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.392, allocations: 67.81 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.392, allocations: 23.98 kB / 1.373 GB, free: 3.688 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 (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.0003515/0.3924, allocations: 221.6 kB / 1.373 GB, free: 3.461 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.371e-05/0.3925, allocations: 43.72 kB / 1.373 GB, free: 3.418 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.014e-05/0.3926, allocations: 55.95 kB / 1.373 GB, free: 3.363 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3926, allocations: 4 kB / 1.373 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3926, allocations: 0 / 1.373 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3926, allocations: 3.984 kB / 1.373 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/0.3933, allocations: 0.6406 MB / 1.374 GB, free: 2.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3933, allocations: 3.984 kB / 1.374 GB, free: 2.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/0.394, allocations: 99.83 kB / 1.374 GB, free: 2.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.394, allocations: 7.922 kB / 1.374 GB, free: 2.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.394, allocations: 7.984 kB / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3941, allocations: 3.938 kB / 1.374 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3941, allocations: 0 / 1.374 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.3962, allocations: 0.8813 MB / 1.375 GB, free: 1.652 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.3965, allocations: 115.6 kB / 1.375 GB, free: 1.539 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.3966, allocations: 15.94 kB / 1.375 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.3972, allocations: 59.92 kB / 1.375 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.3973, allocations: 27.95 kB / 1.375 GB, free: 1.438 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.3973, allocations: 19.97 kB / 1.375 GB, free: 1.418 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004755/0.3978, allocations: 391.1 kB / 1.375 GB, free: 1.035 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3978, allocations: 0 / 1.375 GB, free: 1.035 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004103/0.3982, allocations: 95.94 kB / 1.375 GB, free: 0.9414 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 (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.002753/0.401, allocations: 1.447 MB / 1.377 GB, free: 15.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00233/0.4033, allocations: 0.9691 MB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4033, allocations: 0 / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.4044, allocations: 431.6 kB / 1.378 GB, free: 14.06 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.4049, allocations: 101.8 kB / 1.378 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.4178, allocations: 7.428 MB / 1.386 GB, free: 6.438 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.4183, allocations: 0.8544 MB / 1.386 GB, free: 5.555 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005141/0.4188, allocations: 146.9 kB / 1.387 GB, free: 5.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.4191, allocations: 139.4 kB / 1.387 GB, free: 5.277 MB / 1.076 GB Notification: Performance of SimCode: time 7.41e-07/0.4191, allocations: 0 / 1.387 GB, free: 5.277 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.464, allocations: 13.77 MB / 1.4 GB, free: 7.746 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.08, allocations: 16.11 kB / 1.4 GB, free: 7.734 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.99849323113449]