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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001691/0.001691, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00189/0.00189, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5345, allocations: 140.4 MB / 0.9491 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003041/0.5376, allocations: 2.929 MB / 0.9519 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.5398, allocations: 2.247 MB / 0.9541 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.735e-05/0.5399, allocations: 1.125 kB / 0.9541 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.5405, allocations: 248.7 kB / 0.9544 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.5406, allocations: 69.19 kB / 0.9544 GB, free: 4.918 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007838/0.5414, allocations: 443.2 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000381/0.5418, allocations: 486.4 kB / 0.9553 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.5419, allocations: 62.58 kB / 0.9554 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.5421, allocations: 180.7 kB / 0.9555 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.5422, allocations: 213.2 kB / 0.9557 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.5423, allocations: 24.91 kB / 0.9558 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.5426, allocations: 230.8 kB / 0.956 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.5428, allocations: 147 kB / 0.9561 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.5429, allocations: 207.2 kB / 0.9563 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.5435, allocations: 0.7321 MB / 0.957 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5435, allocations: 0 / 0.957 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5435, allocations: 4 kB / 0.957 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.5435, allocations: 0 / 0.957 GB, free: 3.223 MB / 0.7169 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.001082/0.5446, allocations: 0.8354 MB / 0.9579 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.5446, allocations: 9.625 kB / 0.9579 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.5447, allocations: 52.19 kB / 0.9579 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.5467, allocations: 230.3 kB / 0.9581 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.5471, allocations: 426.5 kB / 0.9585 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.101e-05/0.5472, allocations: 84.62 kB / 0.9586 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.5473, allocations: 17.75 kB / 0.9586 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.5484, allocations: 0.5319 MB / 0.9592 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5484, allocations: 0 / 0.9592 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.5485, allocations: 9.109 kB / 0.9592 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.5485, allocations: 3.281 kB / 0.9592 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.5503, allocations: 0.756 MB / 0.9599 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.5522, allocations: 1.277 MB / 0.9612 GB, free: 384 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00504/0.5572, allocations: 1.006 MB / 0.9621 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009277/0.5582, allocations: 404 kB / 0.9625 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.5582, allocations: 6.109 kB / 0.9625 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.5594, allocations: 0.5304 MB / 0.9631 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.284e-06/0.5594, allocations: 0 / 0.9631 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.003104/0.5625, allocations: 1.179 MB / 0.9642 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.5625, allocations: 54.03 kB / 0.9643 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.5632, allocations: 0.5284 MB / 0.9648 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/0.5632, allocations: 33.3 kB / 0.9648 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.5634, allocations: 195.9 kB / 0.965 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.024e-05/0.5635, allocations: 68.38 kB / 0.9651 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.5637, allocations: 66.34 kB / 0.9651 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5638, allocations: 363.5 kB / 0.9655 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.5649, allocations: 471.2 kB / 0.9659 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.5659, allocations: 498.8 kB / 0.9664 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.5677, allocations: 0.7599 MB / 0.9671 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5677, allocations: 0 / 0.9671 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002296/0.57, allocations: 1.087 MB / 0.9682 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.5701, allocations: 39.19 kB / 0.9682 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5701, allocations: 1.375 kB / 0.9682 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5701, allocations: 4 kB / 0.9682 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.5707, allocations: 91.02 kB / 0.9683 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.5707, allocations: 2.594 kB / 0.9683 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.5713, allocations: 66.95 kB / 0.9684 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.5713, allocations: 12.77 kB / 0.9684 GB, free: 12.42 MB / 0.7325 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.0002576/0.5716, allocations: 213.8 kB / 0.9686 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.5717, allocations: 47.69 kB / 0.9687 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.5718, allocations: 57.69 kB / 0.9687 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5718, allocations: 2.562 kB / 0.9687 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.5718, allocations: 5.594 kB / 0.9687 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5718, allocations: 0 / 0.9687 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.5724, allocations: 0.6395 MB / 0.9693 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5724, allocations: 7.875 kB / 0.9693 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.573, allocations: 86.95 kB / 0.9694 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.573, allocations: 1.5 kB / 0.9694 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.5731, allocations: 11.2 kB / 0.9694 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5731, allocations: 1.312 kB / 0.9694 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5731, allocations: 0 / 0.9694 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.575, allocations: 0.8407 MB / 0.9703 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.5753, allocations: 188.2 kB / 0.9704 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.16e-05/0.5754, allocations: 12.3 kB / 0.9705 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.5759, allocations: 61.7 kB / 0.9705 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.576, allocations: 22.81 kB / 0.9705 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.576, allocations: 21.62 kB / 0.9706 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004108/0.5765, allocations: 386.3 kB / 0.9709 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5765, allocations: 0 / 0.9709 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004116/0.5769, allocations: 100.3 kB / 0.971 GB, free: 10.75 MB / 0.7325 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.002531/0.5794, allocations: 1.437 MB / 0.9724 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.5815, allocations: 0.9375 MB / 0.9733 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5815, allocations: 0 / 0.9733 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009821/0.5825, allocations: 431.5 kB / 0.9738 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.583, allocations: 93.78 kB / 0.9738 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.5948, allocations: 7.468 MB / 0.9811 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.5953, allocations: 0.8503 MB / 0.982 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005393/0.5958, allocations: 134.9 kB / 0.9821 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.5961, allocations: 135.4 kB / 0.9822 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.5961, allocations: 4 kB / 0.9822 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.31/1.906, allocations: 12.61 MB / 0.9945 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/1.906, allocations: 283.6 kB / 0.9948 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/3.796, allocations: 5.344 kB / 0.9948 GB, free: 2.883 MB / 0.7481 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