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.007566/0.007566, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001497/0.001497, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.507/2.507, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 60.12 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8033, allocations: 157.4 MB / 1.207 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004219/0.8076, allocations: 2.899 MB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.8108, allocations: 2.208 MB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.811, allocations: 4 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.8119, allocations: 268.7 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.8122, allocations: 83.22 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.8134, allocations: 478.3 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006775/0.8141, allocations: 0.5141 MB / 1.214 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.8143, allocations: 52.72 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.8146, allocations: 207.4 kB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.8149, allocations: 215.2 kB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.815, allocations: 36 kB / 1.214 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.8155, allocations: 255.7 kB / 1.214 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.8157, allocations: 155.6 kB / 1.214 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.8159, allocations: 214.9 kB / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009084/0.8168, allocations: 0.7556 MB / 1.215 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.8168, allocations: 7.938 kB / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8169, allocations: 0 / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.8169, allocations: 0 / 1.215 GB, free: 5.262 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.001508/0.8184, allocations: 0.8283 MB / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.8184, allocations: 12.03 kB / 1.216 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/0.8185, allocations: 50.73 kB / 1.216 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.8206, allocations: 232.1 kB / 1.217 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.8212, allocations: 426 kB / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.8214, allocations: 87.88 kB / 1.217 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.8214, allocations: 8.375 kB / 1.217 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.8227, allocations: 0.5338 MB / 1.218 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.8227, allocations: 0 / 1.218 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.8227, allocations: 7.984 kB / 1.218 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8228, allocations: 8 kB / 1.218 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.8247, allocations: 0.7533 MB / 1.218 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.827, allocations: 1.269 MB / 1.22 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005018/0.8321, allocations: 1.009 MB / 1.22 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009628/0.833, allocations: 400.6 kB / 1.221 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.8331, allocations: 4 kB / 1.221 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.8343, allocations: 0.5367 MB / 1.221 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 2.836e-06/0.8343, allocations: 0 / 1.221 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.003023/0.8374, allocations: 1.176 MB / 1.223 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.8374, allocations: 55.41 kB / 1.223 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.8381, allocations: 0.5175 MB / 1.223 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.664e-05/0.8382, allocations: 33.7 kB / 1.223 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.8384, allocations: 208.4 kB / 1.223 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.8385, allocations: 67.08 kB / 1.223 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.8386, allocations: 61.67 kB / 1.223 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.8388, allocations: 362.8 kB / 1.224 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.8398, allocations: 468.5 kB / 1.224 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.8409, allocations: 0.4935 MB / 1.225 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.8426, allocations: 0.7579 MB / 1.225 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8427, allocations: 0 / 1.225 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002339/0.845, allocations: 1.07 MB / 1.227 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.274e-05/0.8451, allocations: 41.69 kB / 1.227 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.8451, allocations: 3.938 kB / 1.227 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.8451, allocations: 7.984 kB / 1.227 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.8457, allocations: 95.77 kB / 1.227 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.8457, allocations: 4 kB / 1.227 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.8463, allocations: 55.84 kB / 1.227 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.8463, allocations: 15.98 kB / 1.227 GB, free: 9.371 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.0003225/0.8467, allocations: 223.5 kB / 1.227 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.8468, allocations: 43.53 kB / 1.227 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.8469, allocations: 51.86 kB / 1.227 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8469, allocations: 4 kB / 1.227 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8469, allocations: 0 / 1.227 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.8469, allocations: 3.984 kB / 1.227 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.8476, allocations: 0.642 MB / 1.228 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8476, allocations: 3.938 kB / 1.228 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/0.8482, allocations: 87.89 kB / 1.228 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.8482, allocations: 7.938 kB / 1.228 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.8483, allocations: 11.98 kB / 1.228 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.8483, allocations: 4 kB / 1.228 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8483, allocations: 0 / 1.228 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.8503, allocations: 0.8358 MB / 1.229 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.8506, allocations: 188.5 kB / 1.229 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-05/0.8507, allocations: 11.94 kB / 1.229 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000513/0.8512, allocations: 63.92 kB / 1.229 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.8513, allocations: 27.94 kB / 1.229 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.8514, allocations: 15.98 kB / 1.229 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00044/0.8518, allocations: 387.1 kB / 1.229 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8518, allocations: 0 / 1.229 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004373/0.8523, allocations: 100 kB / 1.229 GB, free: 6.582 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.002445/0.8547, allocations: 1.422 MB / 1.231 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.8569, allocations: 0.9362 MB / 1.232 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8569, allocations: 4 kB / 1.232 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009753/0.8579, allocations: 421.9 kB / 1.232 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.8584, allocations: 93.78 kB / 1.232 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.8704, allocations: 7.289 MB / 1.239 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.8709, allocations: 0.8579 MB / 1.24 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004606/0.8714, allocations: 134.9 kB / 1.24 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.8717, allocations: 135.4 kB / 1.24 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of SimCode: time 8.92e-07/0.8717, allocations: 0 / 1.24 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0346/0.9063, allocations: 13.3 MB / 1.253 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/9.248, allocations: 5.75 kB / 1.253 GB, free: 14.12 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