Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",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.001162/0.001162, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.221/1.221, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.189/2.189, allocations: 390.3 MB / 0.6647 GB, free: 328 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 68.03 kB / 0.8127 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5213/0.5227, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002879/0.5256, allocations: 2.346 MB / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.5275, allocations: 1.865 MB / 0.9539 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.329e-05/0.5276, allocations: 2.562 kB / 0.9539 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.5282, allocations: 220.7 kB / 0.9541 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.818e-05/0.5283, allocations: 59.2 kB / 0.9541 GB, free: 5.688 MB / 0.7169 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.0007904/0.5291, allocations: 427.6 kB / 0.9545 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.5294, allocations: 402.9 kB / 0.9549 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.5296, allocations: 49.08 kB / 0.955 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.5297, allocations: 163.5 kB / 0.9551 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.5299, allocations: 148.4 kB / 0.9553 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.5299, allocations: 27.41 kB / 0.9553 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.5302, allocations: 251.7 kB / 0.9555 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.5304, allocations: 115.2 kB / 0.9556 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.5305, allocations: 165.9 kB / 0.9558 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.5309, allocations: 0.6023 MB / 0.9564 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.531, allocations: 1.25 kB / 0.9564 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.531, allocations: 0 / 0.9564 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.531, allocations: 0 / 0.9564 GB, free: 4.207 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000924/0.5319, allocations: 0.704 MB / 0.9571 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.5319, allocations: 13 kB / 0.9571 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.532, allocations: 46.23 kB / 0.9571 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.5336, allocations: 152.7 kB / 0.9573 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.534, allocations: 367 kB / 0.9576 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.5341, allocations: 80.08 kB / 0.9577 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.5341, allocations: 10.88 kB / 0.9577 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/0.535, allocations: 436.4 kB / 0.9581 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.535, allocations: 1.344 kB / 0.9581 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.535, allocations: 4 kB / 0.9581 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5351, allocations: 2.688 kB / 0.9581 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.5365, allocations: 0.58 MB / 0.9587 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.538, allocations: 1.049 MB / 0.9597 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004656/0.5427, allocations: 0.8517 MB / 0.9606 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006739/0.5433, allocations: 305 kB / 0.9608 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.5434, allocations: 5.391 kB / 0.9608 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008376/0.5442, allocations: 447.7 kB / 0.9613 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.5442, allocations: 0 / 0.9613 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002191/0.5464, allocations: 0.9177 MB / 0.9622 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.5465, allocations: 61.69 kB / 0.9622 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.5468, allocations: 432.4 kB / 0.9626 GB, free: 312 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.5469, allocations: 32.98 kB / 0.9627 GB, free: 276 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.547, allocations: 173.9 kB / 0.9628 GB, free: 116 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.547, allocations: 50.52 kB / 0.9629 GB, free: 72 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.5471, allocations: 55.92 kB / 0.9629 GB, free: 32 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5473, allocations: 345.2 kB / 0.9633 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008457/0.5481, allocations: 385.4 kB / 0.9636 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/0.549, allocations: 372.1 kB / 0.964 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.5504, allocations: 0.6019 MB / 0.9646 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5504, allocations: 0 / 0.9646 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001826/0.5523, allocations: 0.912 MB / 0.9655 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.5523, allocations: 39.84 kB / 0.9655 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5523, allocations: 0 / 0.9655 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.5523, allocations: 5.406 kB / 0.9655 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.5528, allocations: 62.98 kB / 0.9656 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5528, allocations: 5 kB / 0.9656 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.5532, allocations: 46.17 kB / 0.9656 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.5532, allocations: 15.17 kB / 0.9656 GB, free: 14.52 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 (17): * Single equations (assignments): 16 * 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.000201/0.5534, allocations: 186.7 kB / 0.9658 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.5535, allocations: 35.81 kB / 0.9659 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.736e-05/0.5536, allocations: 44.86 kB / 0.9659 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5536, allocations: 2.156 kB / 0.9659 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5536, allocations: 3.938 kB / 0.9659 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5536, allocations: 5.734 kB / 0.9659 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.5541, allocations: 0.5357 MB / 0.9664 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5541, allocations: 0 / 0.9664 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.5546, allocations: 74.44 kB / 0.9665 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5546, allocations: 1.219 kB / 0.9665 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.5546, allocations: 10.92 kB / 0.9665 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5546, allocations: 1.375 kB / 0.9665 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5546, allocations: 3.938 kB / 0.9665 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.5562, allocations: 0.6579 MB / 0.9672 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.5564, allocations: 165 kB / 0.9673 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.5565, allocations: 7.75 kB / 0.9673 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.5569, allocations: 49.25 kB / 0.9674 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.557, allocations: 23.91 kB / 0.9674 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.557, allocations: 8.859 kB / 0.9674 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003034/0.5573, allocations: 318.4 kB / 0.9677 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5573, allocations: 0 / 0.9677 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003554/0.5577, allocations: 83.53 kB / 0.9678 GB, free: 13.09 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 (16): * Single equations (assignments): 14 * 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.002071/0.5598, allocations: 1.259 MB / 0.969 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.5615, allocations: 0.773 MB / 0.9698 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5615, allocations: 1.469 kB / 0.9698 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.5623, allocations: 332.3 kB / 0.9701 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.5627, allocations: 87.39 kB / 0.9702 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00893/0.5717, allocations: 6.156 MB / 0.9762 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.572, allocations: 0.8104 MB / 0.977 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004135/0.5724, allocations: 94.25 kB / 0.9771 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.5726, allocations: 103.4 kB / 0.9772 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.5726, allocations: 4 kB / 0.9772 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.382/4.955, allocations: 10.76 MB / 0.9877 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/13.21, allocations: 17.77 kB / 0.9877 GB, free: 10.85 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches