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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004723/0.004723, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001372/0.001372, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.469/2.469, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 63.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2436, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00359/0.2472, allocations: 2.897 MB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.2499, allocations: 2.218 MB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.2499, allocations: 4 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.2506, allocations: 266.5 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.2507, allocations: 79.28 kB / 1.226 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.2516, allocations: 489.7 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004998/0.2521, allocations: 0.518 MB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.2523, allocations: 52.73 kB / 1.227 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.2524, allocations: 195.5 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.2527, allocations: 219.3 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.2528, allocations: 36 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.2531, allocations: 247.7 kB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.2533, allocations: 155.6 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.2535, allocations: 214.8 kB / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007171/0.2542, allocations: 0.7552 MB / 1.228 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2542, allocations: 0 / 1.228 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2542, allocations: 0 / 1.228 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2543, allocations: 0 / 1.228 GB, free: 5.938 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.001235/0.2555, allocations: 0.8475 MB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.2555, allocations: 8.031 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/0.2556, allocations: 50.73 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.2575, allocations: 232.4 kB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.258, allocations: 430.3 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.2581, allocations: 79.94 kB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.2582, allocations: 16.38 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.2594, allocations: 0.5374 MB / 1.23 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2594, allocations: 3.938 kB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.2594, allocations: 8 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2594, allocations: 0 / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.2614, allocations: 0.7611 MB / 1.231 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.2634, allocations: 1.265 MB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004898/0.2683, allocations: 1.017 MB / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009326/0.2692, allocations: 396.6 kB / 1.234 GB, free: 124 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2693, allocations: 4 kB / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.2704, allocations: 0.5284 MB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.2705, allocations: 0 / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.002999/0.2735, allocations: 1.184 MB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.2735, allocations: 63.34 kB / 1.236 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.274, allocations: 0.5175 MB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.2741, allocations: 33.7 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.2743, allocations: 204.4 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.2743, allocations: 75.34 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2745, allocations: 69.66 kB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2746, allocations: 350.8 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.2757, allocations: 476.5 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.2768, allocations: 0.4969 MB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.2787, allocations: 0.7533 MB / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2787, allocations: 0 / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002336/0.281, allocations: 1.079 MB / 1.239 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.2811, allocations: 41.69 kB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2811, allocations: 7.938 kB / 1.24 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.2811, allocations: 0 / 1.24 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.2817, allocations: 91.83 kB / 1.24 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2817, allocations: 4 kB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.2822, allocations: 55.89 kB / 1.24 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.2822, allocations: 19.97 kB / 1.24 GB, free: 10 MB / 0.9981 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.0002285/0.2825, allocations: 218.3 kB / 1.24 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.2825, allocations: 43.72 kB / 1.24 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.571e-05/0.2826, allocations: 51.86 kB / 1.24 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2826, allocations: 4 kB / 1.24 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2826, allocations: 0 / 1.24 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2826, allocations: 3.984 kB / 1.24 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.2833, allocations: 0.6414 MB / 1.241 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2833, allocations: 0 / 1.241 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.2838, allocations: 95.83 kB / 1.241 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2838, allocations: 3.938 kB / 1.241 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.2839, allocations: 7.984 kB / 1.241 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2839, allocations: 4 kB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2839, allocations: 4 kB / 1.241 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.2859, allocations: 0.8383 MB / 1.242 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.2861, allocations: 192.7 kB / 1.242 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.9e-05/0.2862, allocations: 11.94 kB / 1.242 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005175/0.2867, allocations: 67.84 kB / 1.242 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/0.2868, allocations: 23.97 kB / 1.242 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.2869, allocations: 11.98 kB / 1.242 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003801/0.2873, allocations: 387.1 kB / 1.242 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2873, allocations: 0 / 1.242 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003318/0.2876, allocations: 103.9 kB / 1.242 GB, free: 7.215 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.00246/0.2901, allocations: 1.424 MB / 1.244 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002155/0.2922, allocations: 0.9351 MB / 1.245 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2922, allocations: 7.938 kB / 1.245 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.2933, allocations: 419.6 kB / 1.245 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.2937, allocations: 101.7 kB / 1.245 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4299/0.7236, allocations: 7.303 MB / 1.252 GB, free: 29.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.7239, allocations: 0.8591 MB / 1.253 GB, free: 28.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004123/0.7243, allocations: 128.2 kB / 1.253 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.7245, allocations: 137.2 kB / 1.253 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.7245, allocations: 0 / 1.253 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.835/8.559, allocations: 13.3 MB / 1.266 GB, free: 27.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/19.33, allocations: 12.61 kB / 1.266 GB, free: 27.9 MB / 0.9981 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches