Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 105.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 1.104 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.843/0.845, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004859/0.8499, allocations: 2.907 MB / 1.272 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004369/0.8542, allocations: 2.234 MB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.8547, allocations: 4 kB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.856, allocations: 254.6 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.8565, allocations: 83.22 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.8585, allocations: 482 kB / 1.275 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.8598, allocations: 0.5145 MB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.86, allocations: 38.69 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/0.8606, allocations: 199.4 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.8611, allocations: 223.2 kB / 1.276 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.8613, allocations: 36 kB / 1.276 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/0.8621, allocations: 263.7 kB / 1.276 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.8624, allocations: 167.5 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004691/0.8629, allocations: 210.9 kB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.8645, allocations: 0.7513 MB / 1.277 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.8645, allocations: 0 / 1.277 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8645, allocations: 3.938 kB / 1.277 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.577e-05/0.8646, allocations: 0 / 1.277 GB, free: 12.79 MB / 0.9825 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.00238/0.867, allocations: 0.8513 MB / 1.278 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.867, allocations: 8.031 kB / 1.278 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.8671, allocations: 46.73 kB / 1.278 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.8695, allocations: 240.4 kB / 1.278 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009115/0.8704, allocations: 422.4 kB / 1.278 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.8705, allocations: 87.88 kB / 1.279 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.8706, allocations: 16.31 kB / 1.279 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.872, allocations: 0.5323 MB / 1.279 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.872, allocations: 3.938 kB / 1.279 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.8721, allocations: 0 / 1.279 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.8721, allocations: 4 kB / 1.279 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.8742, allocations: 0.7611 MB / 1.28 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.877, allocations: 1.269 MB / 1.281 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00524/0.8822, allocations: 1.002 MB / 1.282 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009772/0.8832, allocations: 382.6 kB / 1.282 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.8832, allocations: 11.98 kB / 1.282 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.8845, allocations: 0.5326 MB / 1.283 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.635e-06/0.8845, allocations: 0 / 1.283 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.003289/0.8878, allocations: 1.181 MB / 1.284 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.8878, allocations: 59.41 kB / 1.284 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.8886, allocations: 0.5135 MB / 1.285 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.8887, allocations: 33.7 kB / 1.285 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.8889, allocations: 204.4 kB / 1.285 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.451e-05/0.889, allocations: 71.42 kB / 1.285 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.8891, allocations: 61.67 kB / 1.285 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.8893, allocations: 358.8 kB / 1.285 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.8904, allocations: 468.5 kB / 1.286 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.8916, allocations: 0.4972 MB / 1.286 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.8935, allocations: 0.7581 MB / 1.287 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8935, allocations: 4 kB / 1.287 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002563/0.8961, allocations: 1.067 MB / 1.288 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.8961, allocations: 45.69 kB / 1.288 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.8961, allocations: 3.938 kB / 1.288 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.8962, allocations: 4 kB / 1.288 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.8968, allocations: 91.81 kB / 1.288 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.8968, allocations: 4 kB / 1.288 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.8973, allocations: 55.89 kB / 1.288 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.8974, allocations: 15.98 kB / 1.288 GB, free: 0.8867 MB / 0.9825 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.0003435/0.8977, allocations: 220.7 kB / 1.288 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.8979, allocations: 47.7 kB / 1.289 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.801e-05/0.8979, allocations: 47.86 kB / 1.289 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.898, allocations: 11.92 kB / 1.289 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.898, allocations: 0 / 1.289 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.898, allocations: 3.984 kB / 1.289 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000802/0.8988, allocations: 0.6608 MB / 1.289 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.8988, allocations: 0 / 1.289 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.8994, allocations: 87.89 kB / 1.289 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.8994, allocations: 7.938 kB / 1.289 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.8994, allocations: 7.984 kB / 1.289 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.8994, allocations: 4 kB / 1.289 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8994, allocations: 3.938 kB / 1.289 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.9016, allocations: 0.84 MB / 1.29 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.9019, allocations: 188.7 kB / 1.29 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.902, allocations: 11.94 kB / 1.29 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.9025, allocations: 59.92 kB / 1.29 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.9026, allocations: 27.95 kB / 1.29 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.9027, allocations: 11.98 kB / 1.29 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004903/0.9032, allocations: 391.1 kB / 1.291 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9032, allocations: 0 / 1.291 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004451/0.9036, allocations: 103.9 kB / 1.291 GB, free: 14.08 MB / 0.9981 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.002695/0.9063, allocations: 1.42 MB / 1.292 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.9087, allocations: 0.9206 MB / 1.293 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.9087, allocations: 0 / 1.293 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.9097, allocations: 414.1 kB / 1.294 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.9103, allocations: 93.78 kB / 1.294 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.924, allocations: 7.308 MB / 1.301 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.9246, allocations: 0.8657 MB / 1.302 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005016/0.9251, allocations: 126.9 kB / 1.302 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.9254, allocations: 139.4 kB / 1.302 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of SimCode: time 1.293e-06/0.9254, allocations: 0 / 1.302 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04549/0.9709, allocations: 13.34 MB / 1.315 GB, free: 5.559 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/9.552, allocations: 9.562 kB / 1.315 GB, free: 5.551 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.68362298887223]