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.0008213/0.0008213, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0008851/0.0008851, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.8823/0.8823, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764/1.764, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.823e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003052/0.003081, allocations: 2.686 MB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.005368, allocations: 2.086 MB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.005478, allocations: 4 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.006075, allocations: 234.6 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.006195, allocations: 79.22 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.00704, allocations: 0.4926 MB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005205/0.007561, allocations: 0.5179 MB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.007664, allocations: 32.91 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.007883, allocations: 275.5 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.008083, allocations: 183.6 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.008139, allocations: 36 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.008535, allocations: 271.5 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.00869, allocations: 159.5 kB / 1.007 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.008821, allocations: 139.7 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008168/0.009637, allocations: 0.8102 MB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.00964, allocations: 0 / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.152e-06/0.009641, allocations: 3.938 kB / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.009651, allocations: 0 / 1.008 GB, free: 5.438 MB / 0.9636 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.001026/0.01068, allocations: 0.7682 MB / 1.008 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.01071, allocations: 8.75 kB / 1.008 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.01075, allocations: 46.73 kB / 1.008 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.01202, allocations: 264.4 kB / 1.009 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.0125, allocations: 375.8 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.01262, allocations: 147.3 kB / 1.009 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.01266, allocations: 12.38 kB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.01347, allocations: 0.5407 MB / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.01348, allocations: 4.172 kB / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.01352, allocations: 7.938 kB / 1.01 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.01352, allocations: 4 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.01467, allocations: 0.7962 MB / 1.01 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.01608, allocations: 1.178 MB / 1.012 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.01849, allocations: 1.041 MB / 1.013 GB, free: 104 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.01903, allocations: 400.5 kB / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.01905, allocations: 8.344 kB / 1.013 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006776/0.01973, allocations: 0.5379 MB / 1.013 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=21): time 1.794e-06/0.01973, allocations: 0 / 1.013 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of matching and sorting (n=21): time 0.001745/0.02147, allocations: 1.245 MB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.0215, allocations: 55.41 kB / 1.015 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.02189, allocations: 0.5213 MB / 1.015 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.02193, allocations: 37.7 kB / 1.015 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.02204, allocations: 208.4 kB / 1.015 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.0221, allocations: 71.42 kB / 1.016 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.0222, allocations: 69.64 kB / 1.016 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.02229, allocations: 354.8 kB / 1.016 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.02289, allocations: 0.4896 MB / 1.016 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.02351, allocations: 0.5671 MB / 1.017 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.02459, allocations: 0.8011 MB / 1.018 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.02459, allocations: 0 / 1.018 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001339/0.02593, allocations: 1.158 MB / 1.019 GB, free: 9.48 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.02597, allocations: 41.69 kB / 1.019 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.02598, allocations: 0 / 1.019 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.02599, allocations: 0 / 1.019 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.02628, allocations: 95.88 kB / 1.019 GB, free: 9.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.02629, allocations: 3.938 kB / 1.019 GB, free: 9.336 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.02653, allocations: 71.81 kB / 1.019 GB, free: 9.266 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.02657, allocations: 15.97 kB / 1.019 GB, free: 9.25 MB / 0.9792 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.0001723/0.02674, allocations: 213.7 kB / 1.019 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.02679, allocations: 43.72 kB / 1.019 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.02684, allocations: 55.95 kB / 1.019 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.02684, allocations: 0 / 1.019 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.02685, allocations: 7.922 kB / 1.019 GB, free: 8.93 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.02685, allocations: 0 / 1.019 GB, free: 8.93 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.02725, allocations: 0.5394 MB / 1.02 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.02726, allocations: 0 / 1.02 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.02753, allocations: 91.81 kB / 1.02 GB, free: 8.258 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.02754, allocations: 4 kB / 1.02 GB, free: 8.254 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.02756, allocations: 15.97 kB / 1.02 GB, free: 8.238 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02756, allocations: 7.938 kB / 1.02 GB, free: 8.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02757, allocations: 3.938 kB / 1.02 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.02878, allocations: 0.8733 MB / 1.021 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.02893, allocations: 119.6 kB / 1.021 GB, free: 7.219 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.02897, allocations: 8 kB / 1.021 GB, free: 7.211 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.02923, allocations: 67.91 kB / 1.021 GB, free: 7.145 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.02929, allocations: 23.91 kB / 1.021 GB, free: 7.121 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.02932, allocations: 15.97 kB / 1.021 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000264/0.02958, allocations: 391 kB / 1.022 GB, free: 6.727 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.02958, allocations: 0 / 1.022 GB, free: 6.727 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002668/0.02985, allocations: 99.94 kB / 1.022 GB, free: 6.629 MB / 0.9792 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.001416/0.03126, allocations: 1.451 MB / 1.023 GB, free: 5.148 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.03251, allocations: 0.9947 MB / 1.024 GB, free: 4.137 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.03251, allocations: 0 / 1.024 GB, free: 4.137 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.03307, allocations: 431.6 kB / 1.024 GB, free: 3.715 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.03337, allocations: 101.7 kB / 1.025 GB, free: 3.613 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007987/0.04136, allocations: 7.588 MB / 1.032 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.04152, allocations: 245.2 kB / 1.032 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003302/0.04185, allocations: 150.9 kB / 1.032 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.04206, allocations: 140.4 kB / 1.032 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of SimCode: time 8.62e-07/0.04206, allocations: 0 / 1.032 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4324/0.4745, allocations: 14.87 MB / 1.047 GB, free: 82.54 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.976/7.45, allocations: 8.453 kB / 1.047 GB, free: 82.54 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.579600260592997]