Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 179.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008667/0.0008667, allocations: 100.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003005, allocations: 15.5 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1833, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.3397, allocations: 134.1 MB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3401, allocations: 91.89 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02215/0.3622, allocations: 7.552 MB / 1.039 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3623, allocations: 0 / 1.039 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.3623, allocations: 4 kB / 1.039 GB, free: 1.957 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001013/0.3633, allocations: 0.6075 MB / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3634, allocations: 8.031 kB / 1.039 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.3636, allocations: 39.61 kB / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.364, allocations: 298.6 kB / 1.039 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3641, allocations: 16.28 kB / 1.039 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.3641, allocations: 12 kB / 1.04 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.3646, allocations: 248.6 kB / 1.04 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3646, allocations: 4 kB / 1.04 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.3647, allocations: 4 kB / 1.04 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3647, allocations: 4 kB / 1.04 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006715/0.3653, allocations: 243.8 kB / 1.04 GB, free: 380 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.3665, allocations: 0.9618 MB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.3673, allocations: 265.2 kB / 1.041 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3673, allocations: 4 kB / 1.041 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3674, allocations: 34.56 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.3674, allocations: 0 / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.001172/0.3686, allocations: 397.4 kB / 1.042 GB, free: 14.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.3686, allocations: 81.11 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.3689, allocations: 230.2 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.369, allocations: 29.7 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3691, allocations: 168 kB / 1.042 GB, free: 14.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.3691, allocations: 55.25 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.3691, allocations: 4 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3693, allocations: 338.9 kB / 1.042 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.3696, allocations: 115.8 kB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.37, allocations: 167.7 kB / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.3704, allocations: 127.9 kB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3704, allocations: 3.953 kB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008741/0.3713, allocations: 333 kB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3713, allocations: 4 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3713, allocations: 4 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3713, allocations: 4 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.3716, allocations: 76.02 kB / 1.043 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.3717, allocations: 3.984 kB / 1.043 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.3719, allocations: 51.75 kB / 1.043 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.372, allocations: 12 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.3721, allocations: 129.8 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3722, allocations: 31.58 kB / 1.043 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008915/0.3731, allocations: 339.8 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3731, allocations: 0 / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3731, allocations: 4 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3731, allocations: 3.984 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.3735, allocations: 297.3 kB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3735, allocations: 0 / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.3738, allocations: 67.91 kB / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3738, allocations: 0 / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3738, allocations: 4 kB / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3739, allocations: 8.281 kB / 1.044 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3739, allocations: 3.938 kB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.3747, allocations: 497.9 kB / 1.045 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.3748, allocations: 100.7 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.3748, allocations: 11.95 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.3751, allocations: 39.95 kB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.3752, allocations: 15.97 kB / 1.045 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3752, allocations: 8 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001646/0.3754, allocations: 186 kB / 1.045 GB, free: 10.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3754, allocations: 0 / 1.045 GB, free: 10.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003605/0.3758, allocations: 64.19 kB / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001921/0.376, allocations: 124.7 kB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007473/0.3767, allocations: 271.9 kB / 1.045 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3767, allocations: 0 / 1.045 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.3771, allocations: 139.9 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.3776, allocations: 65.3 kB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.3784, allocations: 0.5015 MB / 1.046 GB, free: 9.766 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3787, allocations: 0.7599 MB / 1.047 GB, free: 8.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.3789, allocations: 26.28 kB / 1.047 GB, free: 8.953 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.3789, allocations: 27.42 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.3789, allocations: 0 / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of Templates: time 0.006552/0.3855, allocations: 3.379 MB / 1.05 GB, free: 5.621 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches