Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.348/2.348, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 180 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.808/1.808, allocations: 221.3 MB / 0.7915 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 99.88 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.237e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2936, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.954/5.248, allocations: 1.74 GB / 2.958 GB, free: 96.29 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/5.248, allocations: 107 kB / 2.958 GB, free: 96.19 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.426/6.674, allocations: 156.4 MB / 3.111 GB, free: 384.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.556e-06/6.674, allocations: 3.75 kB / 3.111 GB, free: 384.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001234/6.674, allocations: 31.41 kB / 3.111 GB, free: 384.8 MB / 1.167 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.005823/6.68, allocations: 2.222 MB / 3.113 GB, free: 383.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/6.68, allocations: 7.406 kB / 3.113 GB, free: 383.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02203/6.702, allocations: 2.931 MB / 3.116 GB, free: 383.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006921/6.709, allocations: 2.83 MB / 3.119 GB, free: 381.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/6.71, allocations: 209.2 kB / 3.119 GB, free: 381.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/6.71, allocations: 57.45 kB / 3.119 GB, free: 381.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/6.714, allocations: 2.626 MB / 3.122 GB, free: 380.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/6.714, allocations: 3.75 kB / 3.122 GB, free: 380.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/6.714, allocations: 20.3 kB / 3.122 GB, free: 380.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/6.714, allocations: 11.59 kB / 3.122 GB, free: 380.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/6.719, allocations: 3.586 MB / 3.125 GB, free: 379.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0208/6.739, allocations: 8.821 MB / 3.134 GB, free: 375.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00913/6.749, allocations: 4.012 MB / 3.138 GB, free: 373.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002134/6.751, allocations: 1.621 MB / 3.139 GB, free: 372.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/6.751, allocations: 18.69 kB / 3.139 GB, free: 372.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002975/6.754, allocations: 2.37 MB / 3.142 GB, free: 371 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 4.659e-06/6.754, allocations: 4 kB / 3.142 GB, free: 371 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.02122/6.775, allocations: 4.684 MB / 3.146 GB, free: 368.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/6.775, allocations: 97.69 kB / 3.146 GB, free: 368.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008204/6.783, allocations: 4.142 MB / 3.15 GB, free: 366.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001107/6.785, allocations: 61.72 kB / 3.151 GB, free: 366.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009804/6.786, allocations: 0.996 MB / 3.152 GB, free: 365.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004897/6.786, allocations: 240.7 kB / 3.152 GB, free: 365.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/6.786, allocations: 17.47 kB / 3.152 GB, free: 365.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001045/6.786, allocations: 352.5 kB / 3.152 GB, free: 364.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/6.789, allocations: 2.14 MB / 3.154 GB, free: 363.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/6.792, allocations: 2.176 MB / 3.156 GB, free: 362.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/6.794, allocations: 1.749 MB / 3.158 GB, free: 361.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/6.794, allocations: 3.938 kB / 3.158 GB, free: 361.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.02262/6.817, allocations: 5.965 MB / 3.164 GB, free: 356.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/6.817, allocations: 397 kB / 3.164 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/6.817, allocations: 0 / 3.164 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/6.821, allocations: 0.9999 MB / 3.165 GB, free: 355 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004333/6.826, allocations: 0.6514 MB / 3.166 GB, free: 354.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004203/6.83, allocations: 4.842 MB / 3.171 GB, free: 349.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005836/6.836, allocations: 0.5809 MB / 3.171 GB, free: 348.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008671/6.836, allocations: 151.9 kB / 3.171 GB, free: 348.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/6.837, allocations: 5.562 kB / 3.171 GB, free: 348.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02059/6.857, allocations: 5.707 MB / 3.177 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/6.857, allocations: 0 / 3.177 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003145/6.86, allocations: 0.8751 MB / 3.178 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004492/6.865, allocations: 0.6553 MB / 3.178 GB, free: 341.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/6.871, allocations: 8.496 MB / 3.187 GB, free: 332 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005616/6.877, allocations: 0.5653 MB / 3.187 GB, free: 331.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000875/6.878, allocations: 147.9 kB / 3.187 GB, free: 331.3 MB / 1.167 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001323/6.879, allocations: 206.6 kB / 3.188 GB, free: 331.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/6.881, allocations: 264.8 kB / 3.188 GB, free: 330.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02169/6.902, allocations: 5.041 MB / 3.193 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.093e-05/6.903, allocations: 8 kB / 3.193 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/6.903, allocations: 0 / 3.193 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.421e-05/6.903, allocations: 3.984 kB / 3.193 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008183/6.911, allocations: 3.588 MB / 3.196 GB, free: 322.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/6.911, allocations: 0 / 3.196 GB, free: 322.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004371/6.915, allocations: 0.6163 MB / 3.197 GB, free: 321.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009162/6.916, allocations: 201.5 kB / 3.197 GB, free: 321.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006323/6.917, allocations: 79.88 kB / 3.197 GB, free: 321.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/6.919, allocations: 2.131 MB / 3.199 GB, free: 318.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/6.919, allocations: 3.938 kB / 3.199 GB, free: 318.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02119/6.94, allocations: 4.679 MB / 3.204 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003681/6.944, allocations: 1.122 MB / 3.205 GB, free: 313.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/6.946, allocations: 63.98 kB / 3.205 GB, free: 313 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005451/6.951, allocations: 0.5579 MB / 3.205 GB, free: 312.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004289/6.952, allocations: 76.66 kB / 3.206 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005859/6.952, allocations: 143.9 kB / 3.206 GB, free: 312.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006467/6.959, allocations: 3.158 MB / 3.209 GB, free: 309.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.52e-07/6.959, allocations: 0 / 3.209 GB, free: 309.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006113/6.965, allocations: 1.155 MB / 3.21 GB, free: 307.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002493/6.967, allocations: 1.15 MB / 3.211 GB, free: 306.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01085/6.978, allocations: 8.045 MB / 3.219 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/6.978, allocations: 4 kB / 3.219 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/6.981, allocations: 1.972 MB / 3.221 GB, free: 296.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/6.985, allocations: 0.6265 MB / 3.221 GB, free: 296.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/6.999, allocations: 5.933 MB / 3.227 GB, free: 290.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/7.001, allocations: 2.142 MB / 3.229 GB, free: 287.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008057/7.009, allocations: 2.864 MB / 3.232 GB, free: 285.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009519/7.01, allocations: 191.2 kB / 3.232 GB, free: 284.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.182e-06/7.01, allocations: 0 / 3.232 GB, free: 284.9 MB / 1.167 GB Notification: Performance of Templates: time 0.1117/7.122, allocations: 80.34 MB / 3.311 GB, free: 204.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches