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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 113.9 kB / 16.37 MB, free: 6.016 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.001038/0.001038, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.72 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2312, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003548/0.2348, allocations: 2.354 MB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.2375, allocations: 1.866 MB / 0.9553 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2376, allocations: 8 kB / 0.9553 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005934/0.2382, allocations: 226.7 kB / 0.9555 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2383, allocations: 59.42 kB / 0.9556 GB, free: 3.484 MB / 0.7325 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.0009781/0.2393, allocations: 417.9 kB / 0.9559 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.2398, allocations: 410.8 kB / 0.9563 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2399, allocations: 44.39 kB / 0.9564 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.2401, allocations: 155.6 kB / 0.9565 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.2403, allocations: 159.3 kB / 0.9567 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.2403, allocations: 28 kB / 0.9567 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.2407, allocations: 243.7 kB / 0.9569 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.2408, allocations: 119.7 kB / 0.9571 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.241, allocations: 163.2 kB / 0.9572 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.2416, allocations: 0.6037 MB / 0.9578 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2416, allocations: 4 kB / 0.9578 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2417, allocations: 0 / 0.9578 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2417, allocations: 0 / 0.9578 GB, free: 1.172 MB / 0.7325 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.001105/0.2428, allocations: 0.7022 MB / 0.9585 GB, free: 424 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2428, allocations: 11.97 kB / 0.9585 GB, free: 412 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.2445, allocations: 156.3 kB / 0.9587 GB, free: 256 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.245, allocations: 378.3 kB / 0.959 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.2452, allocations: 71.95 kB / 0.9591 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.2452, allocations: 7.938 kB / 0.9591 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009396/0.2462, allocations: 433.3 kB / 0.9595 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.2462, allocations: 3.938 kB / 0.9595 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.2462, allocations: 8 kB / 0.9595 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2462, allocations: 3.938 kB / 0.9595 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.2476, allocations: 0.5855 MB / 0.9601 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.2494, allocations: 1.039 MB / 0.9611 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004988/0.2544, allocations: 0.8494 MB / 0.9619 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/0.2551, allocations: 304.7 kB / 0.9622 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.2552, allocations: 8 kB / 0.9622 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009436/0.2561, allocations: 453.9 kB / 0.9627 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.2561, allocations: 0 / 0.9627 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.002327/0.2585, allocations: 0.9187 MB / 0.9636 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.2585, allocations: 55.41 kB / 0.9636 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.259, allocations: 437.5 kB / 0.964 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.2591, allocations: 33.7 kB / 0.9641 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.2592, allocations: 176.1 kB / 0.9642 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.2593, allocations: 47.28 kB / 0.9643 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.2594, allocations: 53.69 kB / 0.9643 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2595, allocations: 346.8 kB / 0.9647 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008412/0.2604, allocations: 388.6 kB / 0.965 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.2612, allocations: 370.5 kB / 0.9654 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.2626, allocations: 0.5997 MB / 0.966 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2626, allocations: 0 / 0.966 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001839/0.2644, allocations: 0.9109 MB / 0.9669 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.2645, allocations: 45.69 kB / 0.9669 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2645, allocations: 0 / 0.9669 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2645, allocations: 0 / 0.9669 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.265, allocations: 63.92 kB / 0.967 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.265, allocations: 3.938 kB / 0.967 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.2654, allocations: 43.95 kB / 0.967 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.2654, allocations: 11.98 kB / 0.967 GB, free: 7.469 MB / 0.7481 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.0002226/0.2657, allocations: 193.2 kB / 0.9672 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.2657, allocations: 35.53 kB / 0.9672 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.2658, allocations: 47.45 kB / 0.9673 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.2658, allocations: 4 kB / 0.9673 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2658, allocations: 3.938 kB / 0.9673 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2658, allocations: 0 / 0.9673 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.2664, allocations: 0.5399 MB / 0.9678 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2664, allocations: 0 / 0.9678 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.2668, allocations: 67.91 kB / 0.9679 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2669, allocations: 8 kB / 0.9679 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.2669, allocations: 7.984 kB / 0.9679 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2669, allocations: 0 / 0.9679 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2669, allocations: 7.875 kB / 0.9679 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.2687, allocations: 0.6603 MB / 0.9685 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.269, allocations: 164.7 kB / 0.9687 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.269, allocations: 4 kB / 0.9687 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.2695, allocations: 47.94 kB / 0.9688 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.2696, allocations: 23.91 kB / 0.9688 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.2696, allocations: 11.98 kB / 0.9688 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003353/0.27, allocations: 319.1 kB / 0.9691 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.27, allocations: 0 / 0.9691 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003555/0.2703, allocations: 80.25 kB / 0.9692 GB, free: 5.164 MB / 0.7481 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.0003661/0.2707, allocations: 160.6 kB / 0.9693 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.2724, allocations: 0.7606 MB / 0.9701 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2724, allocations: 0 / 0.9701 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007584/0.2732, allocations: 323.7 kB / 0.9704 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.2736, allocations: 88.02 kB / 0.9705 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2752, allocations: 0.8114 MB / 0.9713 GB, free: 3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.2756, allocations: 0.8143 MB / 0.972 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003324/0.2759, allocations: 98.25 kB / 0.9721 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2761, allocations: 35.42 kB / 0.9722 GB, free: 2.031 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.2761, allocations: 3.938 kB / 0.9722 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of Templates: time 0.01214/0.2882, allocations: 7.164 MB / 0.9792 GB, free: 10.96 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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