Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.005236/0.005236, allocations: 103 kB / 15.73 MB, free: 6.035 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.001307/0.001307, allocations: 190 kB / 16.67 MB, free: 5.965 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.3 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.84 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2618, allocations: 140.4 MB / 1.088 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004246/0.2661, allocations: 2.888 MB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003387/0.2695, allocations: 2.252 MB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.2697, allocations: 0 / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.2706, allocations: 265.3 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.2709, allocations: 75.23 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.2723, allocations: 0.4889 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007105/0.273, allocations: 0.5103 MB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.2732, allocations: 53.28 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.2735, allocations: 195.5 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.2738, allocations: 207.3 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.2739, allocations: 40 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.2744, allocations: 259.7 kB / 1.095 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.2746, allocations: 151.5 kB / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.2749, allocations: 218.9 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.2758, allocations: 0.7559 MB / 1.096 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2758, allocations: 0 / 1.096 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2759, allocations: 4 kB / 1.096 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.2759, allocations: 0 / 1.096 GB, free: 9.621 MB / 0.8575 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.001623/0.2775, allocations: 0.8283 MB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2776, allocations: 8.031 kB / 1.096 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.426e-05/0.2776, allocations: 54.67 kB / 1.097 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.2799, allocations: 232.1 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.2807, allocations: 429.9 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.2808, allocations: 91.44 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.2809, allocations: 16 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.2822, allocations: 0.5284 MB / 1.098 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2823, allocations: 4 kB / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.2823, allocations: 4 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.2823, allocations: 4 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.2845, allocations: 0.7572 MB / 1.099 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.2869, allocations: 1.261 MB / 1.1 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005396/0.2923, allocations: 1.009 MB / 1.101 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.2934, allocations: 400.9 kB / 1.101 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.2935, allocations: 11.94 kB / 1.101 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/0.2948, allocations: 0.5312 MB / 1.102 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 3.357e-06/0.2948, allocations: 0 / 1.102 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.003341/0.2982, allocations: 1.183 MB / 1.103 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.2982, allocations: 55.41 kB / 1.103 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.2989, allocations: 0.5174 MB / 1.103 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.586e-05/0.299, allocations: 33.7 kB / 1.103 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.2992, allocations: 212.3 kB / 1.104 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.2993, allocations: 63.09 kB / 1.104 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.2995, allocations: 69.66 kB / 1.104 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2996, allocations: 358.7 kB / 1.104 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.3008, allocations: 468.4 kB / 1.105 GB, free: 292 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.302, allocations: 0.495 MB / 1.105 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.304, allocations: 0.7613 MB / 1.106 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.304, allocations: 0 / 1.106 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002606/0.3066, allocations: 1.086 MB / 1.107 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/0.3067, allocations: 47.41 kB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3068, allocations: 0 / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3068, allocations: 4 kB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.3074, allocations: 91.83 kB / 1.107 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.3074, allocations: 4 kB / 1.107 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.308, allocations: 63.78 kB / 1.107 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.3081, allocations: 15.97 kB / 1.107 GB, free: 13.69 MB / 0.8731 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.0003587/0.3085, allocations: 209.8 kB / 1.107 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3086, allocations: 43.47 kB / 1.107 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.3087, allocations: 51.92 kB / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3087, allocations: 4 kB / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3088, allocations: 3.984 kB / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3088, allocations: 0 / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007829/0.3096, allocations: 0.6454 MB / 1.108 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3096, allocations: 3.938 kB / 1.108 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.3102, allocations: 87.83 kB / 1.108 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3102, allocations: 7.938 kB / 1.108 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/0.3103, allocations: 11.98 kB / 1.108 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3103, allocations: 0 / 1.108 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3103, allocations: 0 / 1.108 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.3125, allocations: 0.8424 MB / 1.109 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.3129, allocations: 184.5 kB / 1.109 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.313, allocations: 11.98 kB / 1.109 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006027/0.3136, allocations: 67.92 kB / 1.109 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3137, allocations: 19.97 kB / 1.109 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.3138, allocations: 19.98 kB / 1.109 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005496/0.3143, allocations: 387.1 kB / 1.11 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3143, allocations: 0 / 1.11 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005177/0.3149, allocations: 99.98 kB / 1.11 GB, free: 10.91 MB / 0.8731 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.00297/0.3178, allocations: 1.433 MB / 1.111 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002434/0.3203, allocations: 0.9387 MB / 1.112 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3203, allocations: 4 kB / 1.112 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.3214, allocations: 419.6 kB / 1.112 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.322, allocations: 99.97 kB / 1.112 GB, free: 8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.3351, allocations: 7.31 MB / 1.12 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.3356, allocations: 0.8503 MB / 1.12 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005096/0.3361, allocations: 138.9 kB / 1.121 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.3364, allocations: 131.4 kB / 1.121 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of SimCode: time 7.71e-07/0.3365, allocations: 0 / 1.121 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.3711, allocations: 13.6 MB / 1.134 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.66/9.031, allocations: 9.625 kB / 1.134 GB, free: 2.137 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches