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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001581/0.001582, allocations: 192.4 kB / 16.13 MB, free: 6.645 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.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 66.88 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2603, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003937/0.2642, allocations: 2.931 MB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.2673, allocations: 2.216 MB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.2675, allocations: 0 / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.2682, allocations: 259 kB / 1.057 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.2684, allocations: 67.41 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.2694, allocations: 429.6 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006014/0.27, allocations: 0.4906 MB / 1.058 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2701, allocations: 52.72 kB / 1.058 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.2705, allocations: 187.4 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.2707, allocations: 203.3 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.476e-05/0.2708, allocations: 28 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.2712, allocations: 235.7 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.2714, allocations: 143.6 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.2717, allocations: 202.9 kB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007387/0.2724, allocations: 0.7322 MB / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2724, allocations: 0 / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2724, allocations: 0 / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.2724, allocations: 0 / 1.06 GB, free: 72 kB / 0.8106 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.001537/0.274, allocations: 0.836 MB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.274, allocations: 8.031 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.332e-05/0.2741, allocations: 50.73 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.2763, allocations: 228.2 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.2771, allocations: 425.9 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.2772, allocations: 83.88 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.2773, allocations: 16.38 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.2785, allocations: 0.5304 MB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2785, allocations: 0 / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.2786, allocations: 8 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2786, allocations: 0 / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.2805, allocations: 0.7611 MB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.2828, allocations: 1.273 MB / 1.064 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005545/0.2883, allocations: 1.011 MB / 1.065 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2893, allocations: 400.6 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.2894, allocations: 7.984 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.2906, allocations: 0.5347 MB / 1.066 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 2.435e-06/0.2906, allocations: 0 / 1.066 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.003045/0.2937, allocations: 1.182 MB / 1.067 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.2937, allocations: 51.41 kB / 1.067 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.2944, allocations: 0.5175 MB / 1.068 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.105e-05/0.2945, allocations: 37.69 kB / 1.068 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.2947, allocations: 196.5 kB / 1.068 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.2948, allocations: 71 kB / 1.068 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.295, allocations: 69.66 kB / 1.068 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2952, allocations: 354.8 kB / 1.069 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.2963, allocations: 468.5 kB / 1.069 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.2974, allocations: 0.4958 MB / 1.07 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/0.2993, allocations: 0.7529 MB / 1.07 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2993, allocations: 0 / 1.07 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002276/0.3016, allocations: 1.079 MB / 1.071 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.3017, allocations: 41.69 kB / 1.071 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3017, allocations: 3.938 kB / 1.071 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3017, allocations: 0 / 1.071 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.3023, allocations: 95.83 kB / 1.071 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3023, allocations: 0 / 1.071 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.3029, allocations: 63.78 kB / 1.071 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.3029, allocations: 23.91 kB / 1.072 GB, free: 4.16 MB / 0.8262 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.0002781/0.3032, allocations: 209.7 kB / 1.072 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.3033, allocations: 47.44 kB / 1.072 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.678e-05/0.3034, allocations: 51.86 kB / 1.072 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3034, allocations: 8 kB / 1.072 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3035, allocations: 0 / 1.072 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3035, allocations: 3.984 kB / 1.072 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006775/0.3041, allocations: 0.6338 MB / 1.072 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3042, allocations: 4 kB / 1.072 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.3048, allocations: 87.89 kB / 1.073 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.3048, allocations: 7.938 kB / 1.073 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.3048, allocations: 11.98 kB / 1.073 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3048, allocations: 0 / 1.073 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3048, allocations: 0 / 1.073 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.3069, allocations: 0.834 MB / 1.073 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.3071, allocations: 188.5 kB / 1.074 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.3072, allocations: 7.938 kB / 1.074 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.3077, allocations: 67.91 kB / 1.074 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.3078, allocations: 19.97 kB / 1.074 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.3079, allocations: 19.98 kB / 1.074 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004384/0.3083, allocations: 391 kB / 1.074 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3083, allocations: 0 / 1.074 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004134/0.3088, allocations: 103.9 kB / 1.074 GB, free: 1.391 MB / 0.8262 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.002558/0.3113, allocations: 1.42 MB / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00214/0.3135, allocations: 0.9399 MB / 1.076 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3135, allocations: 0 / 1.076 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009973/0.3145, allocations: 423.6 kB / 1.077 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.315, allocations: 101.7 kB / 1.077 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.3269, allocations: 7.451 MB / 1.084 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.3273, allocations: 0.8583 MB / 1.085 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00054/0.3279, allocations: 134.9 kB / 1.085 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.3281, allocations: 131.4 kB / 1.085 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3281, allocations: 0 / 1.085 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3191/0.6473, allocations: 12.54 MB / 1.098 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.6475, allocations: 257 kB / 1.098 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.715, allocations: 0 / 1.098 GB, free: 9.27 MB / 0.8575 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