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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00783/0.007831, allocations: 100.5 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001778, allocations: 200.2 kB / 16.68 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.493/2.493, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 71.88 kB / 1.054 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7567/0.758, allocations: 157.4 MB / 1.207 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004347/0.7624, allocations: 2.885 MB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003229/0.7657, allocations: 2.225 MB / 1.212 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.766, allocations: 4 kB / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008359/0.7668, allocations: 264.8 kB / 1.213 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.7671, allocations: 83.22 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.7684, allocations: 481.7 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007054/0.7691, allocations: 0.5141 MB / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.7693, allocations: 52.72 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.7696, allocations: 207.3 kB / 1.214 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.7699, allocations: 211.3 kB / 1.214 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.7701, allocations: 36 kB / 1.214 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.7705, allocations: 251.7 kB / 1.214 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.7707, allocations: 159.6 kB / 1.214 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.771, allocations: 214.9 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009074/0.7719, allocations: 0.7556 MB / 1.215 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.7719, allocations: 0 / 1.215 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7719, allocations: 3.938 kB / 1.215 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.772, allocations: 4 kB / 1.215 GB, free: 5.168 MB / 0.9356 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.001683/0.7737, allocations: 0.8244 MB / 1.216 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.7737, allocations: 12.02 kB / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.284e-05/0.7738, allocations: 46.75 kB / 1.216 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.776, allocations: 236.1 kB / 1.217 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.7767, allocations: 422 kB / 1.217 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.7768, allocations: 83.94 kB / 1.217 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.7769, allocations: 12.38 kB / 1.217 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.7782, allocations: 0.5323 MB / 1.218 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.7782, allocations: 0 / 1.218 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.7783, allocations: 8 kB / 1.218 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.7783, allocations: 0 / 1.218 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.7804, allocations: 0.765 MB / 1.218 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.7829, allocations: 1.261 MB / 1.22 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005227/0.7881, allocations: 1.01 MB / 1.22 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009967/0.7891, allocations: 404.6 kB / 1.221 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.7892, allocations: 0 / 1.221 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.7904, allocations: 0.534 MB / 1.221 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 2.856e-06/0.7904, allocations: 4 kB / 1.221 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.003238/0.7937, allocations: 1.175 MB / 1.223 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.7937, allocations: 55.41 kB / 1.223 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/0.7944, allocations: 0.5213 MB / 1.223 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.7945, allocations: 33.7 kB / 1.223 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.7946, allocations: 208.4 kB / 1.223 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.7947, allocations: 63.09 kB / 1.223 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.7949, allocations: 69.66 kB / 1.223 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.795, allocations: 354.8 kB / 1.224 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.7962, allocations: 468.5 kB / 1.224 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.7973, allocations: 0.4995 MB / 1.225 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.7992, allocations: 0.7577 MB / 1.225 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7993, allocations: 0 / 1.225 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002484/0.8017, allocations: 1.072 MB / 1.227 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/0.8018, allocations: 47.25 kB / 1.227 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8018, allocations: 7.922 kB / 1.227 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.8019, allocations: 0 / 1.227 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.8025, allocations: 91.83 kB / 1.227 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.8025, allocations: 3.938 kB / 1.227 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.803, allocations: 63.83 kB / 1.227 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.8031, allocations: 19.98 kB / 1.227 GB, free: 9.273 MB / 0.9512 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.0003076/0.8034, allocations: 214.5 kB / 1.227 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.8035, allocations: 39.53 kB / 1.227 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.8036, allocations: 59.84 kB / 1.227 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.8036, allocations: 4 kB / 1.227 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8037, allocations: 4 kB / 1.227 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.8037, allocations: 0 / 1.227 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/0.8044, allocations: 0.6419 MB / 1.228 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.8044, allocations: 0 / 1.228 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005921/0.805, allocations: 91.89 kB / 1.228 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.805, allocations: 3.938 kB / 1.228 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.805, allocations: 11.98 kB / 1.228 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.8051, allocations: 4 kB / 1.228 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8051, allocations: 0 / 1.228 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.8072, allocations: 0.8341 MB / 1.229 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.8075, allocations: 188.5 kB / 1.229 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.8076, allocations: 15.92 kB / 1.229 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.8082, allocations: 63.92 kB / 1.229 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.8083, allocations: 19.97 kB / 1.229 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.8083, allocations: 15.98 kB / 1.229 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004297/0.8088, allocations: 391 kB / 1.229 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8088, allocations: 0 / 1.229 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004207/0.8092, allocations: 100 kB / 1.229 GB, free: 6.496 MB / 0.9512 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.002612/0.8118, allocations: 1.426 MB / 1.231 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.8141, allocations: 0.9323 MB / 1.232 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8141, allocations: 0 / 1.232 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.8152, allocations: 423.6 kB / 1.232 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.8157, allocations: 101.7 kB / 1.232 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.8282, allocations: 7.302 MB / 1.239 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.8287, allocations: 0.854 MB / 1.24 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004659/0.8292, allocations: 134.8 kB / 1.24 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.8295, allocations: 135.4 kB / 1.24 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/0.8295, allocations: 3.938 kB / 1.24 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.8644, allocations: 13.51 MB / 1.254 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/9.047, allocations: 6.359 kB / 1.254 GB, free: 13.8 MB / 0.9825 GB (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 --timeout=50 --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) 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) Reference file matches