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: 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.001501/0.001501, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001696/0.001696, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.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.266/2.266, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.91 kB / 0.9516 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7799/0.7813, allocations: 140.4 MB / 1.089 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003252/0.7846, allocations: 2.362 MB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.7871, allocations: 1.858 MB / 1.093 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.7872, allocations: 2.75 kB / 1.093 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006834/0.7879, allocations: 224.4 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.7881, allocations: 67.06 kB / 1.093 GB, free: 2.633 MB / 0.8575 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.001066/0.7892, allocations: 414.9 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.7897, allocations: 408.5 kB / 1.094 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.7898, allocations: 43.73 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.79, allocations: 150.2 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.7903, allocations: 159.6 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-05/0.7903, allocations: 26.62 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.7909, allocations: 245.6 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.7911, allocations: 118.3 kB / 1.095 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.7913, allocations: 166 kB / 1.095 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008801/0.7922, allocations: 0.6024 MB / 1.095 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7922, allocations: 0 / 1.095 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7922, allocations: 0.8438 kB / 1.095 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.7922, allocations: 0 / 1.095 GB, free: 1.707 MB / 0.8575 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.001308/0.7935, allocations: 0.7089 MB / 1.096 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7936, allocations: 8.688 kB / 1.096 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.7954, allocations: 162.3 kB / 1.096 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.796, allocations: 373.1 kB / 1.097 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.962e-05/0.7961, allocations: 77.86 kB / 1.097 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.7961, allocations: 7.688 kB / 1.097 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.7973, allocations: 441 kB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7973, allocations: 0 / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.7974, allocations: 5.844 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7974, allocations: 1.812 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.799, allocations: 0.5864 MB / 1.098 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.801, allocations: 1.039 MB / 1.099 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005217/0.8063, allocations: 0.8572 MB / 1.099 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008627/0.8071, allocations: 307.2 kB / 1.1 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.8072, allocations: 5.719 kB / 1.1 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.8084, allocations: 447.5 kB / 1.1 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 2.846e-06/0.8084, allocations: 1.062 kB / 1.1 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.003022/0.8114, allocations: 0.9159 MB / 1.101 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.8115, allocations: 58 kB / 1.101 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/0.8121, allocations: 435.5 kB / 1.102 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.8122, allocations: 34.27 kB / 1.102 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.8123, allocations: 176.1 kB / 1.102 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.8124, allocations: 45.81 kB / 1.102 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.8126, allocations: 59.41 kB / 1.102 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8128, allocations: 343.9 kB / 1.102 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009879/0.8137, allocations: 383.1 kB / 1.103 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009639/0.8147, allocations: 377.9 kB / 1.103 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.8164, allocations: 0.5949 MB / 1.103 GB, free: 14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8164, allocations: 0 / 1.103 GB, free: 14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002171/0.8186, allocations: 0.9127 MB / 1.104 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/0.8187, allocations: 41.84 kB / 1.104 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.8187, allocations: 2.047 kB / 1.104 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.8187, allocations: 0 / 1.104 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.8192, allocations: 64.05 kB / 1.104 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.8192, allocations: 8.906 kB / 1.104 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.8197, allocations: 47.55 kB / 1.105 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.8198, allocations: 19.23 kB / 1.105 GB, free: 13.65 MB / 0.8731 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.0003423/0.8201, allocations: 194.9 kB / 1.105 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.8202, allocations: 36.95 kB / 1.105 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.267e-05/0.8203, allocations: 41.81 kB / 1.105 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.8203, allocations: 0.6094 kB / 1.105 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8203, allocations: 0 / 1.105 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.8206, allocations: 165 kB / 1.105 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.8207, allocations: 5.594 kB / 1.105 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.8211, allocations: 48.98 kB / 1.105 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.8212, allocations: 18.47 kB / 1.105 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002101/0.8234, allocations: 0.7145 MB / 1.106 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001863/0.8252, allocations: 0.8133 MB / 1.107 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008026/0.826, allocations: 314.1 kB / 1.107 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003908/0.8264, allocations: 317 kB / 1.107 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of Backend: time 6.51e-07/0.8265, allocations: 4 kB / 1.107 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.8285, allocations: 0.6146 MB / 1.108 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001551/0.8301, allocations: 1.048 MB / 1.109 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.02152/0.8516, allocations: 8.926 MB / 1.117 GB, free: 10.73 MB / 0.8731 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","/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