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.001317/0.001317, allocations: 114.1 kB / 16.42 MB, free: 6.473 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.001258/0.001258, allocations: 186.6 kB / 17.35 MB, free: 5.75 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 / 241.1 MB, free: 15.15 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.247/2.247, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.89 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7636/0.765, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004127/0.7692, allocations: 2.906 MB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.7724, allocations: 2.241 MB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.7726, allocations: 3.062 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000869/0.7734, allocations: 265.5 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.7736, allocations: 71.8 kB / 1.094 GB, free: 1.719 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.001314/0.775, allocations: 487.4 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006518/0.7756, allocations: 0.5136 MB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.7758, allocations: 55.56 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.776, allocations: 204.9 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.7763, allocations: 212.1 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.168e-05/0.7764, allocations: 37.56 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.777, allocations: 255.3 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.7772, allocations: 158.3 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.7775, allocations: 209.6 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.7785, allocations: 0.7608 MB / 1.097 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7785, allocations: 0.9062 kB / 1.097 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7785, allocations: 0 / 1.097 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.7786, allocations: 0 / 1.097 GB, free: 0.5469 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.001547/0.7801, allocations: 0.8364 MB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.7802, allocations: 8.906 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.7825, allocations: 235.7 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.7832, allocations: 425.7 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.7834, allocations: 83.91 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.7834, allocations: 13.98 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.7849, allocations: 0.5305 MB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.785, allocations: 0 / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.785, allocations: 5.828 kB / 1.099 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.785, allocations: 3.25 kB / 1.099 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.7873, allocations: 0.7567 MB / 1.1 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.7902, allocations: 1.267 MB / 1.101 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005725/0.7959, allocations: 1.019 MB / 1.102 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.7971, allocations: 400.5 kB / 1.102 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.7971, allocations: 9.203 kB / 1.102 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/0.7985, allocations: 0.5313 MB / 1.103 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 3.106e-06/0.7985, allocations: 0 / 1.103 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.003636/0.8022, allocations: 1.184 MB / 1.104 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.8022, allocations: 55.3 kB / 1.104 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/0.8032, allocations: 0.518 MB / 1.104 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.8033, allocations: 34.56 kB / 1.105 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.8035, allocations: 204.3 kB / 1.105 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.8036, allocations: 64.77 kB / 1.105 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.8039, allocations: 65.83 kB / 1.105 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002499/0.8041, allocations: 361.9 kB / 1.105 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.8055, allocations: 474.2 kB / 1.106 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.8069, allocations: 0.4902 MB / 1.106 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.8089, allocations: 0.7576 MB / 1.107 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.809, allocations: 0 / 1.107 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002838/0.8118, allocations: 1.087 MB / 1.108 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/0.8119, allocations: 48.62 kB / 1.108 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8119, allocations: 0 / 1.108 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.8119, allocations: 1.625 kB / 1.108 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.8126, allocations: 95.5 kB / 1.108 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.8126, allocations: 1.344 kB / 1.108 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.8132, allocations: 61.17 kB / 1.108 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.8133, allocations: 14.47 kB / 1.108 GB, free: 11.83 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.0004767/0.8138, allocations: 215.3 kB / 1.108 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.8139, allocations: 48.78 kB / 1.108 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.814, allocations: 51.62 kB / 1.108 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.8141, allocations: 2.594 kB / 1.108 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8141, allocations: 0 / 1.108 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.8144, allocations: 195.6 kB / 1.109 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.8145, allocations: 17.3 kB / 1.109 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.8151, allocations: 58.72 kB / 1.109 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.8152, allocations: 27.69 kB / 1.109 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002742/0.818, allocations: 0.9046 MB / 1.11 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002381/0.8204, allocations: 0.9865 MB / 1.111 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001111/0.8215, allocations: 408.2 kB / 1.111 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005493/0.822, allocations: 387.8 kB / 1.111 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of Backend: time 3.21e-07/0.8221, allocations: 0 / 1.111 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.8243, allocations: 0.7101 MB / 1.112 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001795/0.8261, allocations: 1.179 MB / 1.113 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of Templates: time 0.027/0.8532, allocations: 10.94 MB / 1.124 GB, free: 8.496 MB / 0.8731 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/jenkins1/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