Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001267/0.001267, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 436.5 MB / 0.7104 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003288, allocations: 12 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6437/0.644, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002996/0.6471, allocations: 1.75 MB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.6489, allocations: 0.9872 MB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.649, allocations: 0 / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.6491, allocations: 23.78 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.6494, allocations: 83.77 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.6497, allocations: 127.7 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.65, allocations: 191.5 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.6501, allocations: 48.7 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.6502, allocations: 91.62 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.6505, allocations: 119.5 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.6505, allocations: 8 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.6509, allocations: 275.6 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.6509, allocations: 35.77 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.651, allocations: 65.58 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.6512, allocations: 217.4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.6512, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6513, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6513, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 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.00106/0.6523, allocations: 0.6155 MB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.6524, allocations: 11.98 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.6526, allocations: 39.61 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.6529, allocations: 266.4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.6529, allocations: 16.23 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.653, allocations: 12 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.6535, allocations: 252.5 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6535, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.6536, allocations: 8 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.6536, allocations: 4 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.6543, allocations: 243.7 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.6555, allocations: 0.9539 MB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.6562, allocations: 265.1 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.6563, allocations: 3.953 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.6563, allocations: 34.56 kB / 1.027 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.6563, allocations: 4 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001237/0.6576, allocations: 397.4 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.6576, allocations: 85.09 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.6579, allocations: 267 kB / 1.028 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.6579, allocations: 25.7 kB / 1.028 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.658, allocations: 164.1 kB / 1.028 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.6581, allocations: 55.2 kB / 1.028 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-06/0.6581, allocations: 0 / 1.028 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6582, allocations: 338.8 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.6586, allocations: 111.8 kB / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.659, allocations: 169.9 kB / 1.029 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.6593, allocations: 119.9 kB / 1.029 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6594, allocations: 3.938 kB / 1.029 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008883/0.6602, allocations: 329.8 kB / 1.029 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.6603, allocations: 12.08 kB / 1.029 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6603, allocations: 4 kB / 1.029 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.6603, allocations: 4 kB / 1.029 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.6606, allocations: 67.89 kB / 1.029 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.6606, allocations: 4.062 kB / 1.029 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.6609, allocations: 55.8 kB / 1.029 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.6609, allocations: 8 kB / 1.029 GB, free: 7.891 MB / 0.7794 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.0001176/0.661, allocations: 129.8 kB / 1.03 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.6612, allocations: 27.62 kB / 1.03 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/0.662, allocations: 347.1 kB / 1.03 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.662, allocations: 0 / 1.03 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.6621, allocations: 4 kB / 1.03 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6621, allocations: 4 kB / 1.03 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.6624, allocations: 297.3 kB / 1.03 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6624, allocations: 3.984 kB / 1.03 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.6627, allocations: 67.89 kB / 1.03 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6627, allocations: 0 / 1.03 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.6627, allocations: 11.94 kB / 1.03 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6628, allocations: 3.953 kB / 1.03 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6628, allocations: 0 / 1.03 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008891/0.6637, allocations: 489.6 kB / 1.031 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.6637, allocations: 112.7 kB / 1.031 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.6638, allocations: 0 / 1.031 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.6641, allocations: 39.91 kB / 1.031 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.6641, allocations: 23.92 kB / 1.031 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.6642, allocations: 4 kB / 1.031 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001577/0.6643, allocations: 194 kB / 1.031 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6643, allocations: 0 / 1.031 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003583/0.6647, allocations: 56.25 kB / 1.031 GB, free: 6.008 MB / 0.7794 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.0001788/0.6649, allocations: 111.2 kB / 1.031 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007691/0.6657, allocations: 267.9 kB / 1.032 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6657, allocations: 0 / 1.032 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.666, allocations: 144.2 kB / 1.032 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.6665, allocations: 70.7 kB / 1.032 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007192/0.6672, allocations: 0.5009 MB / 1.032 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.6676, allocations: 0.7557 MB / 1.033 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000142/0.6677, allocations: 26.3 kB / 1.033 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.6678, allocations: 23.44 kB / 1.033 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.6678, allocations: 0 / 1.033 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of Templates: time 0.006547/0.6743, allocations: 3.414 MB / 1.036 GB, free: 0.7148 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches