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.005319/0.005319, allocations: 99.66 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.001308/0.001308, allocations: 195.1 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.297/1.297, 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.296/2.296, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 64.55 kB / 0.9504 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2322, allocations: 140.4 MB / 1.088 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003937/0.2362, allocations: 2.893 MB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.2391, allocations: 2.248 MB / 1.093 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2392, allocations: 0 / 1.093 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.2399, allocations: 269.4 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.2401, allocations: 75.22 kB / 1.093 GB, free: 12.45 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.001078/0.2412, allocations: 491.7 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.2417, allocations: 0.5102 MB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2418, allocations: 57.27 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.242, allocations: 191.5 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.2423, allocations: 215.3 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.2423, allocations: 36 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.2427, allocations: 255.7 kB / 1.095 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.2429, allocations: 155.6 kB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.2431, allocations: 218.8 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.2438, allocations: 0.7559 MB / 1.096 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2438, allocations: 0 / 1.096 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2438, allocations: 0 / 1.096 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2438, allocations: 0 / 1.096 GB, free: 9.594 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.001297/0.2451, allocations: 0.8322 MB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2451, allocations: 11.97 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.2452, allocations: 46.73 kB / 1.097 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.2473, allocations: 236.1 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.2479, allocations: 430 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.248, allocations: 91.44 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.2481, allocations: 12 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.2494, allocations: 0.5284 MB / 1.098 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2494, allocations: 0 / 1.098 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.2494, allocations: 11.94 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.2494, allocations: 0 / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.2515, allocations: 0.7572 MB / 1.099 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.2536, allocations: 1.261 MB / 1.1 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005258/0.2589, allocations: 1.009 MB / 1.101 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009704/0.2599, allocations: 396.9 kB / 1.101 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.2599, allocations: 11.95 kB / 1.101 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.2611, allocations: 0.5312 MB / 1.102 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 3.446e-06/0.2611, allocations: 0 / 1.102 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.003162/0.2643, allocations: 1.194 MB / 1.103 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.2643, allocations: 51.41 kB / 1.103 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/0.2649, allocations: 0.5175 MB / 1.103 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.2649, allocations: 33.7 kB / 1.103 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.2651, allocations: 204.4 kB / 1.104 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/0.2652, allocations: 63.09 kB / 1.104 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.2653, allocations: 69.66 kB / 1.104 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2655, allocations: 362.7 kB / 1.104 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.2666, allocations: 468.4 kB / 1.105 GB, free: 264 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.2677, allocations: 0.491 MB / 1.105 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.2697, allocations: 0.7613 MB / 1.106 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2697, allocations: 0 / 1.106 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002418/0.2721, allocations: 1.09 MB / 1.107 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.2721, allocations: 45.69 kB / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2722, allocations: 0 / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2722, allocations: 3.984 kB / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.2728, allocations: 99.81 kB / 1.107 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2728, allocations: 0 / 1.107 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.2734, allocations: 67.78 kB / 1.107 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.2734, allocations: 11.98 kB / 1.107 GB, free: 13.66 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.000317/0.2737, allocations: 209.8 kB / 1.107 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.2738, allocations: 47.45 kB / 1.107 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.681e-05/0.2739, allocations: 47.92 kB / 1.107 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2739, allocations: 4 kB / 1.107 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.274, allocations: 0 / 1.107 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.274, allocations: 0 / 1.107 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.2747, allocations: 0.6571 MB / 1.108 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2747, allocations: 3.984 kB / 1.108 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/0.2753, allocations: 83.83 kB / 1.108 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2753, allocations: 8 kB / 1.108 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.2754, allocations: 11.98 kB / 1.108 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2754, allocations: 0 / 1.108 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2754, allocations: 0 / 1.108 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.2775, allocations: 0.8383 MB / 1.109 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.2778, allocations: 192.4 kB / 1.109 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.2779, allocations: 8 kB / 1.109 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.2784, allocations: 63.92 kB / 1.109 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.2785, allocations: 23.95 kB / 1.109 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.2786, allocations: 15.98 kB / 1.109 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004089/0.279, allocations: 387.1 kB / 1.11 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.279, allocations: 0 / 1.11 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004047/0.2794, allocations: 100 kB / 1.11 GB, free: 10.88 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.002722/0.2822, allocations: 1.426 MB / 1.111 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.2844, allocations: 0.9426 MB / 1.112 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2844, allocations: 0 / 1.112 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.2855, allocations: 427.6 kB / 1.112 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.2859, allocations: 97.77 kB / 1.112 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.2976, allocations: 7.315 MB / 1.12 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.298, allocations: 0.8619 MB / 1.12 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004271/0.2984, allocations: 122.9 kB / 1.121 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.2987, allocations: 135.4 kB / 1.121 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of SimCode: time 6.42e-07/0.2987, allocations: 0 / 1.121 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.3276, allocations: 13.38 MB / 1.134 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/8.633, allocations: 16.64 kB / 1.134 GB, free: 2.316 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