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.001586/0.001586, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.002387/0.002387, allocations: 212.6 kB / 22.24 MB, free: 5.113 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.777 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.287/3.287, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002109/0.002109, allocations: 66.59 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3706, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004869/0.3755, allocations: 2.706 MB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003591/0.3791, allocations: 2.072 MB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.3793, allocations: 4 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008752/0.3801, allocations: 226.7 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.3804, allocations: 79.22 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.3818, allocations: 0.4913 MB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000774/0.3826, allocations: 0.5141 MB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3827, allocations: 28.86 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.3831, allocations: 199.5 kB / 1.37 GB, free: 7.727 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.3835, allocations: 215.2 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.162e-05/0.3836, allocations: 36 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.3841, allocations: 271.6 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.3843, allocations: 155.5 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.3845, allocations: 179.2 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008866/0.3854, allocations: 0.7552 MB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3854, allocations: 0 / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3854, allocations: 0 / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.3854, allocations: 0 / 1.371 GB, free: 6.129 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.001424/0.3868, allocations: 0.7722 MB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3869, allocations: 8.031 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.3869, allocations: 54.67 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.3895, allocations: 264.3 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/0.3901, allocations: 380.5 kB / 1.373 GB, free: 4.594 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.3903, allocations: 143.3 kB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.3904, allocations: 16.38 kB / 1.373 GB, free: 4.414 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.3918, allocations: 0.5606 MB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3918, allocations: 4 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.3918, allocations: 4 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.3919, allocations: 7.984 kB / 1.373 GB, free: 3.832 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.3941, allocations: 0.7984 MB / 1.374 GB, free: 3.035 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.3969, allocations: 1.186 MB / 1.375 GB, free: 1.805 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/0.4024, allocations: 1.046 MB / 1.376 GB, free: 0.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.4035, allocations: 408.6 kB / 1.377 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.4035, allocations: 0 / 1.377 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/0.4049, allocations: 0.5542 MB / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 2.525e-06/0.4049, allocations: 0 / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.003696/0.4086, allocations: 1.252 MB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.4087, allocations: 55.41 kB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007741/0.4095, allocations: 0.5213 MB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.6e-05/0.4096, allocations: 37.69 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.4098, allocations: 196.5 kB / 1.379 GB, free: 13.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.4099, allocations: 63.44 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.4101, allocations: 77.64 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.4103, allocations: 350.8 kB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.4115, allocations: 0.5139 MB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.4128, allocations: 0.5826 MB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.415, allocations: 0.7969 MB / 1.381 GB, free: 11.26 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.415, allocations: 0 / 1.381 GB, free: 11.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002808/0.4178, allocations: 1.161 MB / 1.383 GB, free: 10.08 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/0.4179, allocations: 41.69 kB / 1.383 GB, free: 10.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4179, allocations: 7.938 kB / 1.383 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4179, allocations: 0 / 1.383 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.4186, allocations: 95.81 kB / 1.383 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4186, allocations: 4 kB / 1.383 GB, free: 9.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006561/0.4193, allocations: 63.81 kB / 1.383 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.4194, allocations: 19.98 kB / 1.383 GB, free: 9.848 MB / 1.076 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.0003502/0.4197, allocations: 216.2 kB / 1.383 GB, free: 9.629 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.4198, allocations: 47.7 kB / 1.383 GB, free: 9.582 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.42, allocations: 51.95 kB / 1.383 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.42, allocations: 4 kB / 1.383 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.42, allocations: 0 / 1.383 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.42, allocations: 0 / 1.383 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008089/0.4208, allocations: 0.5588 MB / 1.384 GB, free: 8.926 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4208, allocations: 0 / 1.384 GB, free: 8.926 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007/0.4215, allocations: 107.8 kB / 1.384 GB, free: 8.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4215, allocations: 3.938 kB / 1.384 GB, free: 8.816 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.4215, allocations: 11.97 kB / 1.384 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4215, allocations: 0 / 1.384 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4215, allocations: 0 / 1.384 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.4239, allocations: 0.8829 MB / 1.385 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.4243, allocations: 115.6 kB / 1.385 GB, free: 7.789 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.4244, allocations: 11.94 kB / 1.385 GB, free: 7.777 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/0.425, allocations: 67.91 kB / 1.385 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.4251, allocations: 19.97 kB / 1.385 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.4251, allocations: 23.97 kB / 1.385 GB, free: 7.668 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00053/0.4257, allocations: 387.1 kB / 1.385 GB, free: 7.289 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4257, allocations: 0 / 1.385 GB, free: 7.289 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000438/0.4261, allocations: 103.9 kB / 1.385 GB, free: 7.188 MB / 1.076 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.002922/0.429, allocations: 1.453 MB / 1.387 GB, free: 5.707 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002584/0.4316, allocations: 1.002 MB / 1.388 GB, free: 4.688 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4316, allocations: 0 / 1.388 GB, free: 4.688 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4328, allocations: 431.6 kB / 1.388 GB, free: 4.266 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.4333, allocations: 97.75 kB / 1.388 GB, free: 4.172 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.4478, allocations: 7.584 MB / 1.396 GB, free: 12.47 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4481, allocations: 260.8 kB / 1.396 GB, free: 12.19 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000577/0.4487, allocations: 142.9 kB / 1.396 GB, free: 12.05 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.449, allocations: 139.4 kB / 1.396 GB, free: 11.92 MB / 1.092 GB Notification: Performance of SimCode: time 1.172e-06/0.449, allocations: 4 kB / 1.396 GB, free: 11.91 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04844/0.4975, allocations: 14.9 MB / 1.411 GB, free: 13.3 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.96, allocations: 12.81 kB / 1.411 GB, free: 13.29 MB / 1.107 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.97417861688882]