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.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.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.001283/0.001283, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001338/0.001338, allocations: 187.7 kB / 16.13 MB, free: 6.645 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.183/2.183, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 71.88 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/0.5699, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003009/0.5729, allocations: 2.395 MB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.5749, allocations: 1.869 MB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.575, allocations: 5.656 kB / 0.9532 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.5755, allocations: 205.6 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/0.5756, allocations: 58.89 kB / 0.9535 GB, free: 5.555 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.00073/0.5764, allocations: 373.2 kB / 0.9538 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.5767, allocations: 387.4 kB / 0.9542 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.5768, allocations: 36.28 kB / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.5769, allocations: 145.2 kB / 0.9544 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.5771, allocations: 155.6 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.5771, allocations: 17.5 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.5774, allocations: 237.4 kB / 0.9548 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.5776, allocations: 106.9 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.5777, allocations: 161.4 kB / 0.955 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.5782, allocations: 0.5833 MB / 0.9556 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5782, allocations: 0 / 0.9556 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5782, allocations: 3.938 kB / 0.9556 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5782, allocations: 0 / 0.9556 GB, free: 4.188 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.0009637/0.5792, allocations: 0.7035 MB / 0.9563 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5792, allocations: 14.39 kB / 0.9563 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.5793, allocations: 42.72 kB / 0.9563 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.5809, allocations: 163.8 kB / 0.9565 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.5812, allocations: 366.8 kB / 0.9569 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.645e-05/0.5813, allocations: 75.98 kB / 0.9569 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.5814, allocations: 10.88 kB / 0.9569 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/0.5823, allocations: 434.9 kB / 0.9574 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5823, allocations: 0 / 0.9574 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.5823, allocations: 9.078 kB / 0.9574 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5824, allocations: 2.281 kB / 0.9574 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.5837, allocations: 0.5763 MB / 0.9579 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.5853, allocations: 1.056 MB / 0.959 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/0.59, allocations: 0.8477 MB / 0.9598 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.5907, allocations: 312.1 kB / 0.9601 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.5907, allocations: 1.469 kB / 0.9601 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008557/0.5916, allocations: 452.4 kB / 0.9605 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.5916, allocations: 0 / 0.9605 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002146/0.5938, allocations: 0.9117 MB / 0.9614 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.5938, allocations: 62.41 kB / 0.9615 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.5942, allocations: 431.5 kB / 0.9619 GB, free: 288 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.5942, allocations: 38.17 kB / 0.9619 GB, free: 248 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.5943, allocations: 173.8 kB / 0.9621 GB, free: 88 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.5944, allocations: 46.27 kB / 0.9621 GB, free: 48 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.5945, allocations: 52.11 kB / 0.9622 GB, free: 12 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5946, allocations: 345 kB / 0.9625 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008121/0.5955, allocations: 388.2 kB / 0.9629 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007815/0.5963, allocations: 371.6 kB / 0.9632 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.5976, allocations: 0.6008 MB / 0.9638 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5976, allocations: 0 / 0.9638 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00185/0.5995, allocations: 0.9136 MB / 0.9647 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.5996, allocations: 40.53 kB / 0.9647 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5996, allocations: 3.938 kB / 0.9647 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5996, allocations: 1.312 kB / 0.9647 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.6, allocations: 71.11 kB / 0.9648 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.6001, allocations: 3.938 kB / 0.9648 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.6004, allocations: 46.81 kB / 0.9649 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.6005, allocations: 18.73 kB / 0.9649 GB, free: 14.49 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.0002131/0.6007, allocations: 188.2 kB / 0.9651 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.6008, allocations: 35.94 kB / 0.9651 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.697e-05/0.6009, allocations: 36.88 kB / 0.9651 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6009, allocations: 2.688 kB / 0.9651 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.6009, allocations: 3.938 kB / 0.9651 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.6009, allocations: 3.938 kB / 0.9651 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.6014, allocations: 0.5409 MB / 0.9657 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6014, allocations: 0 / 0.9657 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.6019, allocations: 66.55 kB / 0.9657 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6019, allocations: 1.156 kB / 0.9657 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.6019, allocations: 6.203 kB / 0.9657 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6019, allocations: 1.156 kB / 0.9657 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6019, allocations: 4.969 kB / 0.9657 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.6035, allocations: 0.6615 MB / 0.9664 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.6037, allocations: 168.6 kB / 0.9666 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.6038, allocations: 8.094 kB / 0.9666 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.6042, allocations: 44.72 kB / 0.9666 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.6043, allocations: 19.5 kB / 0.9666 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.6043, allocations: 17.27 kB / 0.9666 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003193/0.6046, allocations: 317.9 kB / 0.9669 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6046, allocations: 0 / 0.9669 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000358/0.605, allocations: 79.53 kB / 0.967 GB, free: 13.07 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.002075/0.6071, allocations: 1.263 MB / 0.9682 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.6088, allocations: 0.7613 MB / 0.969 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6088, allocations: 0 / 0.969 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007643/0.6096, allocations: 330.3 kB / 0.9693 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.61, allocations: 75.92 kB / 0.9694 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009429/0.6195, allocations: 6.212 MB / 0.9754 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.6199, allocations: 0.8182 MB / 0.9762 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004352/0.6203, allocations: 90.27 kB / 0.9763 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.6205, allocations: 99.38 kB / 0.9764 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of SimCode: time 4.9e-07/0.6205, allocations: 0 / 0.9764 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.823/2.444, allocations: 10.24 MB / 0.9864 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003499/2.444, allocations: 288.6 kB / 0.9867 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/4.327, allocations: 6.031 kB / 0.9867 GB, free: 11.24 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