Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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.CoolingCapacityWaterCooled,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.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,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.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007608/0.007608, allocations: 100.3 kB / 15.73 MB, free: 6.008 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.00115/0.00115, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.388/2.388, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.83 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2688, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004178/0.273, allocations: 2.901 MB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003446/0.2765, allocations: 2.248 MB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.2767, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.2777, allocations: 262.5 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.278, allocations: 83.27 kB / 1.093 GB, free: 11.93 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.001278/0.2793, allocations: 483.9 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006743/0.28, allocations: 0.5064 MB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.2801, allocations: 56.72 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.2804, allocations: 203.4 kB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.2808, allocations: 215.2 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2809, allocations: 36 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005215/0.2815, allocations: 247.7 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.2817, allocations: 159.6 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.2819, allocations: 210.9 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000796/0.2827, allocations: 0.7594 MB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2827, allocations: 4 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2827, allocations: 0 / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2827, allocations: 0 / 1.096 GB, free: 9.086 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001343/0.2841, allocations: 0.8322 MB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2841, allocations: 16.03 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.2862, allocations: 228.1 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.2868, allocations: 426 kB / 1.098 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.2869, allocations: 87.58 kB / 1.098 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.287, allocations: 19.98 kB / 1.098 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.2882, allocations: 0.5304 MB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2882, allocations: 0 / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.2883, allocations: 4 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.2883, allocations: 8 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.2902, allocations: 0.7533 MB / 1.099 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.2923, allocations: 1.265 MB / 1.1 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/0.2975, allocations: 1.013 MB / 1.101 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000933/0.2985, allocations: 400.9 kB / 1.102 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.2985, allocations: 7.938 kB / 1.102 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.2997, allocations: 0.5351 MB / 1.102 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 2.043e-06/0.2997, allocations: 0 / 1.102 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.003018/0.3027, allocations: 1.183 MB / 1.103 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.3028, allocations: 55.41 kB / 1.103 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/0.3034, allocations: 0.5175 MB / 1.104 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.3035, allocations: 33.7 kB / 1.104 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.3036, allocations: 204.4 kB / 1.104 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.3037, allocations: 71.03 kB / 1.104 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.3039, allocations: 65.67 kB / 1.104 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3041, allocations: 358.7 kB / 1.104 GB, free: 276 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.3052, allocations: 472.4 kB / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.3062, allocations: 0.4935 MB / 1.105 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.308, allocations: 0.7552 MB / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3081, allocations: 0 / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00233/0.3104, allocations: 1.092 MB / 1.107 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.3105, allocations: 39.25 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3105, allocations: 0 / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3105, allocations: 7.938 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.3111, allocations: 95.83 kB / 1.107 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3111, allocations: 3.984 kB / 1.107 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.3116, allocations: 55.94 kB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.3117, allocations: 11.98 kB / 1.107 GB, free: 13.22 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 (22): * Single equations (assignments): 21 * 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.0002679/0.3119, allocations: 213.7 kB / 1.108 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/0.312, allocations: 47.38 kB / 1.108 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.322e-05/0.3121, allocations: 59.84 kB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3121, allocations: 4 kB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3121, allocations: 0 / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3121, allocations: 0 / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.3128, allocations: 0.6455 MB / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3128, allocations: 3.938 kB / 1.108 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.3134, allocations: 87.89 kB / 1.108 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3134, allocations: 3.984 kB / 1.108 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.3135, allocations: 11.98 kB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3135, allocations: 3.938 kB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3135, allocations: 3.984 kB / 1.108 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.3155, allocations: 0.8423 MB / 1.109 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.3157, allocations: 188.4 kB / 1.109 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.3158, allocations: 8 kB / 1.109 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.3163, allocations: 59.92 kB / 1.11 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.3165, allocations: 31.97 kB / 1.11 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.3165, allocations: 15.97 kB / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004129/0.3169, allocations: 391.1 kB / 1.11 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3169, allocations: 0 / 1.11 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004016/0.3173, allocations: 92 kB / 1.11 GB, free: 10.43 MB / 0.8731 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 (21): * Single equations (assignments): 19 * 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.0004054/0.3178, allocations: 159.4 kB / 1.11 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.3199, allocations: 0.944 MB / 1.111 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.32, allocations: 0 / 1.111 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.321, allocations: 423.6 kB / 1.112 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.3214, allocations: 85.86 kB / 1.112 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.3237, allocations: 1.062 MB / 1.113 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.3241, allocations: 0.8541 MB / 1.113 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004172/0.3245, allocations: 134.9 kB / 1.114 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.3247, allocations: 43.41 kB / 1.114 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of SimCode: time 4.3e-07/0.3247, allocations: 0 / 1.114 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of Templates: time 0.01531/0.34, allocations: 8.851 MB / 1.122 GB, free: 13.95 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches