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.35/2.35, allocations: 390.5 MB / 398 MB, free: 10.95 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.001422/0.001422, allocations: 180.6 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001128/0.001128, allocations: 94.7 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.937e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3059, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.665/4.971, allocations: 1.739 GB / 2.951 GB, free: 99.96 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/4.971, allocations: 110.2 kB / 2.951 GB, free: 99.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.145/6.116, allocations: 140.1 MB / 3.088 GB, free: 378 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.994e-06/6.116, allocations: 0 / 3.088 GB, free: 378 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001588/6.116, allocations: 39.53 kB / 3.088 GB, free: 378 MB / 1.151 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.006602/6.122, allocations: 2.213 MB / 3.09 GB, free: 377 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/6.122, allocations: 12 kB / 3.09 GB, free: 377 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02449/6.147, allocations: 2.93 MB / 3.093 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007495/6.154, allocations: 2.833 MB / 3.096 GB, free: 376.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/6.155, allocations: 172.1 kB / 3.096 GB, free: 376.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/6.155, allocations: 37.8 kB / 3.096 GB, free: 376.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00499/6.16, allocations: 3.551 MB / 3.1 GB, free: 376.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/6.164, allocations: 2.571 MB / 3.102 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/6.164, allocations: 3.562 kB / 3.102 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/6.164, allocations: 10.8 kB / 3.102 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/6.164, allocations: 20.23 kB / 3.102 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/6.185, allocations: 8.692 MB / 3.111 GB, free: 372.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008755/6.193, allocations: 3.973 MB / 3.115 GB, free: 371.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/6.195, allocations: 1.602 MB / 3.116 GB, free: 370.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/6.195, allocations: 26.47 kB / 3.116 GB, free: 370.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002709/6.198, allocations: 2.346 MB / 3.118 GB, free: 369.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 3.978e-06/6.198, allocations: 0 / 3.118 GB, free: 369.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.02409/6.222, allocations: 5.133 MB / 3.123 GB, free: 368 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/6.222, allocations: 99.94 kB / 3.124 GB, free: 367.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006588/6.229, allocations: 3.99 MB / 3.127 GB, free: 366.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009596/6.23, allocations: 41.27 kB / 3.127 GB, free: 366.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009205/6.231, allocations: 0.9909 MB / 3.128 GB, free: 365.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/6.231, allocations: 228.8 kB / 3.129 GB, free: 365.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/6.231, allocations: 3.906 kB / 3.129 GB, free: 365.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001056/6.231, allocations: 347.6 kB / 3.129 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/6.234, allocations: 2.13 MB / 3.131 GB, free: 364.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/6.236, allocations: 2.169 MB / 3.133 GB, free: 363.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02586/6.262, allocations: 11.36 MB / 3.144 GB, free: 361.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/6.262, allocations: 0 / 3.144 GB, free: 361.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04607/6.308, allocations: 15.55 MB / 3.159 GB, free: 347.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002701/6.309, allocations: 389.8 kB / 3.16 GB, free: 346.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/6.309, allocations: 4 kB / 3.16 GB, free: 346.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/6.313, allocations: 0.9478 MB / 3.161 GB, free: 345.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/6.317, allocations: 0.652 MB / 3.161 GB, free: 345.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004293/6.321, allocations: 4.852 MB / 3.166 GB, free: 340.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006035/6.327, allocations: 0.5573 MB / 3.167 GB, free: 339.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009752/6.328, allocations: 155.9 kB / 3.167 GB, free: 339.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/6.328, allocations: 4 kB / 3.167 GB, free: 339.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04585/6.374, allocations: 15.21 MB / 3.182 GB, free: 324.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/6.374, allocations: 0.8125 kB / 3.182 GB, free: 324.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/6.378, allocations: 0.8776 MB / 3.183 GB, free: 323.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004572/6.383, allocations: 0.6508 MB / 3.183 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007603/6.39, allocations: 8.226 MB / 3.191 GB, free: 313.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006668/6.397, allocations: 0.5459 MB / 3.192 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/6.398, allocations: 151.9 kB / 3.192 GB, free: 313.2 MB / 1.151 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.002138/6.4, allocations: 177.7 kB / 3.192 GB, free: 313 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/6.402, allocations: 260.8 kB / 3.192 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02379/6.426, allocations: 5.204 MB / 3.197 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/6.426, allocations: 8 kB / 3.197 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/6.426, allocations: 4 kB / 3.197 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/6.426, allocations: 3.984 kB / 3.197 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00763/6.434, allocations: 3.503 MB / 3.201 GB, free: 304 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/6.434, allocations: 0 / 3.201 GB, free: 304 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004124/6.438, allocations: 0.6146 MB / 3.201 GB, free: 303.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008111/6.439, allocations: 208.9 kB / 3.202 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000611/6.44, allocations: 63.89 kB / 3.202 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/6.442, allocations: 2.094 MB / 3.204 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/6.442, allocations: 0 / 3.204 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0234/6.465, allocations: 4.872 MB / 3.208 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003591/6.469, allocations: 1.114 MB / 3.21 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001909/6.471, allocations: 59.92 kB / 3.21 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005724/6.476, allocations: 0.5384 MB / 3.21 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/6.477, allocations: 80.66 kB / 3.21 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006086/6.478, allocations: 139.9 kB / 3.21 GB, free: 294.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.006563/6.484, allocations: 3.021 MB / 3.213 GB, free: 291 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.71e-07/6.484, allocations: 0 / 3.213 GB, free: 291 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007335/6.491, allocations: 1.085 MB / 3.214 GB, free: 290 MB / 1.151 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.003275/6.495, allocations: 1.256 MB / 3.216 GB, free: 288.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0119/6.507, allocations: 7.948 MB / 3.223 GB, free: 280.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/6.507, allocations: 0 / 3.223 GB, free: 280.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002782/6.51, allocations: 1.945 MB / 3.225 GB, free: 278.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004473/6.514, allocations: 0.6224 MB / 3.226 GB, free: 278.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/6.529, allocations: 5.881 MB / 3.232 GB, free: 272.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002515/6.532, allocations: 2.142 MB / 3.234 GB, free: 270.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009891/6.541, allocations: 2.852 MB / 3.237 GB, free: 267.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/6.543, allocations: 187.2 kB / 3.237 GB, free: 267.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.242e-06/6.543, allocations: 0 / 3.237 GB, free: 267.2 MB / 1.151 GB Notification: Performance of Templates: time 0.112/6.655, allocations: 63.67 MB / 3.299 GB, free: 203.8 MB / 1.151 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