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.001199/0.001199, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001432/0.001432, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 239.9 MB, free: 5.422 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.462/2.462, allocations: 390.3 MB / 0.6653 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 11.98 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6871, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002004/0.6892, allocations: 1.91 MB / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.6912, allocations: 1.623 MB / 0.957 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.6914, allocations: 1.312 kB / 0.957 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.692, allocations: 210.4 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.6921, allocations: 69.56 kB / 0.9572 GB, free: 5.168 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.0008518/0.693, allocations: 374.5 kB / 0.9576 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.6933, allocations: 255 kB / 0.9578 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.6934, allocations: 36.05 kB / 0.9579 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.6935, allocations: 133.2 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.6937, allocations: 145.8 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.6938, allocations: 16.28 kB / 0.9582 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.6941, allocations: 207.1 kB / 0.9584 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.6942, allocations: 106.2 kB / 0.9585 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.6943, allocations: 78.14 kB / 0.9585 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.6946, allocations: 466.2 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6947, allocations: 1.375 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6947, allocations: 0 / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6947, allocations: 0 / 0.959 GB, free: 4.047 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.0009395/0.6956, allocations: 0.659 MB / 0.9596 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.6957, allocations: 9.25 kB / 0.9596 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.6974, allocations: 173.8 kB / 0.9598 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.6979, allocations: 345.6 kB / 0.9601 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.382e-05/0.698, allocations: 75.56 kB / 0.9602 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.698, allocations: 7.094 kB / 0.9602 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009991/0.699, allocations: 466.6 kB / 0.9607 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6991, allocations: 3.953 kB / 0.9607 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.6991, allocations: 1.031 kB / 0.9607 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.6991, allocations: 2 kB / 0.9607 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.7007, allocations: 0.6249 MB / 0.9613 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.7025, allocations: 1.06 MB / 0.9623 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/0.7075, allocations: 0.9095 MB / 0.9632 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.7075, allocations: 4.984 kB / 0.9632 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.7086, allocations: 466 kB / 0.9636 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.424e-06/0.7086, allocations: 0 / 0.9636 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002484/0.7111, allocations: 0.9866 MB / 0.9646 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.7112, allocations: 54.44 kB / 0.9647 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.7116, allocations: 428.9 kB / 0.9651 GB, free: 368 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/0.7117, allocations: 33.7 kB / 0.9651 GB, free: 332 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.7118, allocations: 165.5 kB / 0.9653 GB, free: 180 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.7119, allocations: 46.52 kB / 0.9653 GB, free: 140 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.7119, allocations: 5.781 kB / 0.9653 GB, free: 136 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7121, allocations: 352.8 kB / 0.9656 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009361/0.713, allocations: 407.9 kB / 0.966 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/0.7139, allocations: 392.8 kB / 0.9664 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.7147, allocations: 371.7 kB / 0.9668 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7147, allocations: 0 / 0.9668 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001983/0.7167, allocations: 0.9479 MB / 0.9677 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/0.7168, allocations: 44.84 kB / 0.9677 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7168, allocations: 4 kB / 0.9677 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7168, allocations: 1.062 kB / 0.9677 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.7173, allocations: 75.27 kB / 0.9678 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7173, allocations: 1.219 kB / 0.9678 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.7178, allocations: 55.17 kB / 0.9679 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.7178, allocations: 20.38 kB / 0.9679 GB, free: 14.72 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.7181, allocations: 190 kB / 0.9681 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.7182, allocations: 36.05 kB / 0.9681 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.207e-05/0.7183, allocations: 40.88 kB / 0.9681 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7183, allocations: 2.031 kB / 0.9681 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.7183, allocations: 9.062 kB / 0.9681 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7183, allocations: 0 / 0.9681 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.7189, allocations: 0.5514 MB / 0.9687 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7189, allocations: 0 / 0.9687 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.7193, allocations: 72.73 kB / 0.9688 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7194, allocations: 0 / 0.9688 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.7194, allocations: 11.42 kB / 0.9688 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.7194, allocations: 5.312 kB / 0.9688 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7194, allocations: 0 / 0.9688 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.7211, allocations: 0.6953 MB / 0.9694 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.7213, allocations: 165.5 kB / 0.9696 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.906e-05/0.7214, allocations: 8.156 kB / 0.9696 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.7219, allocations: 58.19 kB / 0.9697 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.7219, allocations: 18.81 kB / 0.9697 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.722, allocations: 14.17 kB / 0.9697 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003393/0.7223, allocations: 313.8 kB / 0.97 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7223, allocations: 5.094 kB / 0.97 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003817/0.7227, allocations: 82.61 kB / 0.9701 GB, free: 13.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004142/0.7231, allocations: 160 kB / 0.9702 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.725, allocations: 0.7967 MB / 0.971 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.725, allocations: 0 / 0.971 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000854/0.7258, allocations: 356.4 kB / 0.9714 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.7262, allocations: 74.16 kB / 0.9714 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.7279, allocations: 0.871 MB / 0.9723 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.7283, allocations: 0.8201 MB / 0.9731 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004382/0.7288, allocations: 102.7 kB / 0.9732 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.7289, allocations: 36.06 kB / 0.9732 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.7289, allocations: 0 / 0.9732 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of Templates: time 0.01135/0.7403, allocations: 6.483 MB / 0.9795 GB, free: 5.156 MB / 0.7325 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 -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","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches