Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.WetCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetCoi.Q_flow|TEvaIn.y|wetCoi.TADP|wetCoi.mWat_flow|wetCoi.SHR|wetCoi.EIR",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetCoi.Q_flow|TEvaIn.y|wetCoi.TADP|wetCoi.mWat_flow|wetCoi.SHR|wetCoi.EIR",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.001719/0.001719, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7986, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil): time 0.005727/0.8043, allocations: 4.631 MB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1912/0.9955, allocations: 157.4 MB / 1.247 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009359/0.9965, allocations: 6.625 kB / 1.247 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.9985, allocations: 0.5789 MB / 1.247 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/1.001, allocations: 0.6428 MB / 1.248 GB, free: 10.28 MB / 0.9825 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.003883/1.005, allocations: 1.38 MB / 1.249 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003255/1.008, allocations: 2.898 MB / 1.252 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007053/1.009, allocations: 477.4 kB / 1.253 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/1.012, allocations: 1.095 MB / 1.254 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002427/1.014, allocations: 1.133 MB / 1.255 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009737/1.015, allocations: 264 kB / 1.255 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006164/1.021, allocations: 1.759 MB / 1.257 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001792/1.023, allocations: 0.9274 MB / 1.258 GB, free: 492 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00346/1.027, allocations: 1.419 MB / 1.259 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/1.038, allocations: 5.909 MB / 1.265 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/1.038, allocations: 3.984 kB / 1.265 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.038, allocations: 3.938 kB / 1.265 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000129/1.038, allocations: 0 / 1.265 GB, free: 9.121 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.01133/1.05, allocations: 3.421 MB / 1.268 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.05, allocations: 8.031 kB / 1.268 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03442/1.084, allocations: 2.614 MB / 1.271 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00892/1.093, allocations: 2.75 MB / 1.274 GB, free: 184 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005374/1.094, allocations: 190 kB / 1.274 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005579/1.094, allocations: 64 kB / 1.274 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/1.108, allocations: 3.094 MB / 1.277 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/1.108, allocations: 0 / 1.277 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003128/1.108, allocations: 20 kB / 1.277 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/1.108, allocations: 12 kB / 1.277 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/1.127, allocations: 4.535 MB / 1.281 GB, free: 8.227 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/1.147, allocations: 8.111 MB / 1.289 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/1.168, allocations: 4.9 MB / 1.294 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007646/1.175, allocations: 2.122 MB / 1.296 GB, free: 8.996 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006915/1.176, allocations: 470 kB / 1.296 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00886/1.185, allocations: 2.823 MB / 1.299 GB, free: 5.598 MB / 1.029 GB Notification: Performance of pre-optimization done (n=79): time 6.011e-06/1.185, allocations: 0 / 1.299 GB, free: 5.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=79): time 0.04576/1.231, allocations: 8.305 MB / 1.307 GB, free: 13.23 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/1.231, allocations: 97.77 kB / 1.307 GB, free: 13.11 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008388/1.239, allocations: 4.548 MB / 1.312 GB, free: 8.547 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0006317/1.24, allocations: 69.62 kB / 1.312 GB, free: 8.473 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/1.241, allocations: 1.002 MB / 1.313 GB, free: 7.461 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005575/1.242, allocations: 244.6 kB / 1.313 GB, free: 7.219 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008448/1.243, allocations: 274.4 kB / 1.313 GB, free: 6.945 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.243, allocations: 341.9 kB / 1.314 GB, free: 6.605 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008408/1.251, allocations: 2.597 MB / 1.316 GB, free: 4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008367/1.26, allocations: 2.636 MB / 1.319 GB, free: 1.352 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/1.275, allocations: 4.047 MB / 1.323 GB, free: 13.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/1.275, allocations: 0 / 1.323 GB, free: 13.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.03577/1.31, allocations: 6.891 MB / 1.33 GB, free: 6.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/1.311, allocations: 83.38 kB / 1.33 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.311, allocations: 0 / 1.33 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007571/1.318, allocations: 1.097 MB / 1.331 GB, free: 5.129 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006442/1.325, allocations: 0.5226 MB / 1.331 GB, free: 4.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/1.343, allocations: 10.57 MB / 1.342 GB, free: 9.297 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007771/1.351, allocations: 494.6 kB / 1.342 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00063/1.352, allocations: 84.08 kB / 1.342 GB, free: 8.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0129/1.365, allocations: 3.551 MB / 1.346 GB, free: 5.168 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008494/1.373, allocations: 2.605 MB / 1.348 GB, free: 2.555 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01503/1.388, allocations: 4.039 MB / 1.352 GB, free: 14.48 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/1.388, allocations: 4 kB / 1.352 GB, free: 14.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=115) (initialization_lambda0): time 0.03475/1.423, allocations: 6.696 MB / 1.359 GB, free: 7.738 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/1.423, allocations: 87.44 kB / 1.359 GB, free: 7.641 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.423, allocations: 7.984 kB / 1.359 GB, free: 7.633 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003658/1.427, allocations: 0.8984 MB / 1.36 GB, free: 6.715 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004519/1.431, allocations: 0.5265 MB / 1.36 GB, free: 6.188 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009039/1.441, allocations: 9.13 MB / 1.369 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005582/1.446, allocations: 486.7 kB / 1.369 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000549/1.447, allocations: 79.89 kB / 1.37 GB, free: 11.77 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,wetCoi.shr.on,wetCoi.cooCap.checkBoundsTCon[4],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,1), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00104/1.448, allocations: 275.8 kB / 1.37 GB, free: 11.49 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/1.449, allocations: 252.8 kB / 1.37 GB, free: 11.24 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03342/1.483, allocations: 5.911 MB / 1.376 GB, free: 5.305 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/1.483, allocations: 3.984 kB / 1.376 GB, free: 5.301 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.483, allocations: 0 / 1.376 GB, free: 5.301 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003091/1.486, allocations: 0.9308 MB / 1.377 GB, free: 4.348 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/1.487, allocations: 63.91 kB / 1.377 GB, free: 4.285 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005481/1.493, allocations: 439.3 kB / 1.377 GB, free: 3.855 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/1.493, allocations: 76.5 kB / 1.377 GB, free: 3.777 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02229/1.516, allocations: 4.925 MB / 1.382 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02495/1.541, allocations: 7.375 MB / 1.389 GB, free: 7.402 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007618/1.548, allocations: 2.175 MB / 1.391 GB, free: 5.227 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00609/1.554, allocations: 3.244 MB / 1.395 GB, free: 1.98 MB / 1.123 GB Notification: Performance of Backend: time 5.51e-07/1.554, allocations: 0 / 1.395 GB, free: 1.98 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02525/1.58, allocations: 8.082 MB / 1.402 GB, free: 9.719 MB / 1.139 GB Notification: Performance of SimCode: time 0.01097/1.591, allocations: 5.596 MB / 1.408 GB, free: 4.066 MB / 1.139 GB Notification: Performance of Templates: time 0.1233/1.714, allocations: 86.02 MB / 1.492 GB, free: 14.18 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches