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.001804/0.001804, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00196/0.00196, allocations: 195.9 kB / 16.26 MB, free: 6.633 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.322/2.322, allocations: 390.2 MB / 0.6644 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.91 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.664, allocations: 140.4 MB / 0.9493 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003993/0.668, allocations: 2.398 MB / 0.9516 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.6712, allocations: 1.839 MB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.6714, allocations: 3.219 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.6723, allocations: 216.1 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.6725, allocations: 55.61 kB / 0.9537 GB, free: 5.59 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.001195/0.6737, allocations: 381.9 kB / 0.954 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.6743, allocations: 405.2 kB / 0.9544 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.6744, allocations: 52.94 kB / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.6746, allocations: 151.6 kB / 0.9546 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.6748, allocations: 162.3 kB / 0.9548 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.6749, allocations: 27.91 kB / 0.9548 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.6753, allocations: 247.8 kB / 0.955 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.6755, allocations: 123.3 kB / 0.9551 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.6757, allocations: 165.8 kB / 0.9553 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.6763, allocations: 0.5987 MB / 0.9559 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6763, allocations: 7.938 kB / 0.9559 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6763, allocations: 0 / 0.9559 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.6764, allocations: 0 / 0.9559 GB, free: 4.152 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.001199/0.6776, allocations: 0.7076 MB / 0.9566 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.6776, allocations: 9.562 kB / 0.9566 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.6777, allocations: 38.44 kB / 0.9566 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.6795, allocations: 165.2 kB / 0.9568 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.6798, allocations: 365.5 kB / 0.9571 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.955e-05/0.6799, allocations: 85.19 kB / 0.9572 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.68, allocations: 9.562 kB / 0.9572 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000933/0.6809, allocations: 435.5 kB / 0.9576 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6809, allocations: 0 / 0.9576 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.681, allocations: 1.375 kB / 0.9576 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.681, allocations: 1.375 kB / 0.9576 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.6825, allocations: 0.5814 MB / 0.9582 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.6842, allocations: 1.055 MB / 0.9592 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004881/0.6891, allocations: 0.8448 MB / 0.9601 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007081/0.6898, allocations: 314.6 kB / 0.9604 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.6898, allocations: 1.406 kB / 0.9604 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000916/0.6908, allocations: 439.9 kB / 0.9608 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/0.6908, allocations: 0 / 0.9608 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002405/0.6932, allocations: 0.9178 MB / 0.9617 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.6932, allocations: 70.33 kB / 0.9617 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.6937, allocations: 427.7 kB / 0.9621 GB, free: 256 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.6937, allocations: 37.62 kB / 0.9622 GB, free: 216 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/0.6938, allocations: 173.8 kB / 0.9624 GB, free: 56 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.6939, allocations: 46.58 kB / 0.9624 GB, free: 16 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.6941, allocations: 52.05 kB / 0.9624 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6942, allocations: 348.5 kB / 0.9628 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008891/0.6951, allocations: 377.5 kB / 0.9631 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008666/0.696, allocations: 377.4 kB / 0.9635 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.6975, allocations: 0.5994 MB / 0.9641 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6975, allocations: 0 / 0.9641 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001959/0.6995, allocations: 0.9145 MB / 0.965 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.874e-05/0.6996, allocations: 43.59 kB / 0.965 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6996, allocations: 0 / 0.965 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.6996, allocations: 1.25 kB / 0.965 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.7001, allocations: 67.17 kB / 0.9651 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7001, allocations: 13.33 kB / 0.9651 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.7005, allocations: 41.36 kB / 0.9651 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.7006, allocations: 15.62 kB / 0.9651 GB, free: 14.46 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.0002419/0.7008, allocations: 194.5 kB / 0.9653 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/0.7009, allocations: 34.78 kB / 0.9654 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.382e-05/0.701, allocations: 41.38 kB / 0.9654 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.701, allocations: 2.844 kB / 0.9654 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.701, allocations: 3.938 kB / 0.9654 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.701, allocations: 0 / 0.9654 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005885/0.7016, allocations: 0.54 MB / 0.9659 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.7016, allocations: 0 / 0.9659 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.7021, allocations: 67.2 kB / 0.966 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.7021, allocations: 1.281 kB / 0.966 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.7021, allocations: 10.48 kB / 0.966 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7021, allocations: 1.438 kB / 0.966 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.7021, allocations: 3.938 kB / 0.966 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.7038, allocations: 0.6575 MB / 0.9667 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.704, allocations: 163.9 kB / 0.9668 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/0.7041, allocations: 12.25 kB / 0.9668 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.7045, allocations: 45.28 kB / 0.9669 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.7046, allocations: 23.16 kB / 0.9669 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.7046, allocations: 17.11 kB / 0.9669 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003523/0.705, allocations: 321.3 kB / 0.9672 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.705, allocations: 1.094 kB / 0.9672 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003841/0.7054, allocations: 79.28 kB / 0.9673 GB, free: 13.03 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.002271/0.7077, allocations: 1.248 MB / 0.9685 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00179/0.7095, allocations: 0.7862 MB / 0.9693 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7095, allocations: 0 / 0.9693 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008045/0.7103, allocations: 323.1 kB / 0.9696 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.7108, allocations: 82.34 kB / 0.9697 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.7208, allocations: 6.213 MB / 0.9757 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.7212, allocations: 0.8143 MB / 0.9765 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004434/0.7216, allocations: 94.25 kB / 0.9766 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.7219, allocations: 107.4 kB / 0.9767 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.7219, allocations: 0 / 0.9767 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/0.8651, allocations: 10.49 MB / 0.987 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/0.8654, allocations: 289.7 kB / 0.9872 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.947, allocations: 4 kB / 0.9872 GB, free: 10.76 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