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.0009268/0.0009268, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 179.1 kB / 16.92 MB, free: 6.652 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.84/2.84, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003743, allocations: 15.78 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3502, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002687/0.3529, allocations: 1.852 MB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3549, allocations: 1.059 MB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.3551, allocations: 7.938 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.918e-05/0.3552, allocations: 15.84 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.3556, allocations: 71.42 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.3559, allocations: 143.7 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.3563, allocations: 278.8 kB / 1.063 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3564, allocations: 56.7 kB / 1.063 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3566, allocations: 99.5 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.3568, allocations: 131.3 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.3568, allocations: 8 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.3572, allocations: 283.6 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.3573, allocations: 35.78 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3574, allocations: 129 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.3577, allocations: 227.6 kB / 1.064 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3577, allocations: 0 / 1.064 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3577, allocations: 0 / 1.064 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3577, allocations: 0 / 1.064 GB, free: 0.5547 MB / 0.8106 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.001105/0.3588, allocations: 0.6079 MB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3589, allocations: 11.97 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.3591, allocations: 44.5 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.3595, allocations: 271.6 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.3595, allocations: 16.66 kB / 1.065 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.3596, allocations: 16.31 kB / 1.065 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.3601, allocations: 253 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3601, allocations: 0 / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3602, allocations: 8 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3602, allocations: 4 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/0.3609, allocations: 243.7 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.3621, allocations: 0.9464 MB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.3629, allocations: 261.2 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.3633, allocations: 137.6 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3633, allocations: 7.938 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3634, allocations: 34.56 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.3634, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001276/0.3646, allocations: 401.3 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.3647, allocations: 89.09 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.365, allocations: 259 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.365, allocations: 29.7 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3652, allocations: 168.1 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.3652, allocations: 51.25 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.3653, allocations: 21.72 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3654, allocations: 338.8 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.3658, allocations: 115.8 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.3662, allocations: 163.3 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/0.3669, allocations: 285.7 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3669, allocations: 0 / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008921/0.3678, allocations: 344.9 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3678, allocations: 4.938 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3679, allocations: 12.11 kB / 1.069 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3679, allocations: 0 / 1.069 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.3682, allocations: 71.89 kB / 1.069 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3682, allocations: 0 / 1.069 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.3684, allocations: 59.73 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.3685, allocations: 8 kB / 1.069 GB, free: 11.03 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.3686, allocations: 129.8 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.3687, allocations: 31.66 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008771/0.3696, allocations: 339.8 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3696, allocations: 4 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3696, allocations: 0 / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3696, allocations: 0 / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.37, allocations: 293.3 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.37, allocations: 7.922 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.3703, allocations: 63.95 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3703, allocations: 4.281 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3703, allocations: 4 kB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3703, allocations: 0 / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3704, allocations: 7.938 kB / 1.07 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009071/0.3713, allocations: 487.5 kB / 1.07 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.3714, allocations: 104.8 kB / 1.07 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.3714, allocations: 4 kB / 1.07 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.3717, allocations: 43.97 kB / 1.07 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.3717, allocations: 19.97 kB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3718, allocations: 4 kB / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001853/0.372, allocations: 190 kB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.372, allocations: 0 / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003568/0.3723, allocations: 63.84 kB / 1.07 GB, free: 9.168 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002371/0.3726, allocations: 123.2 kB / 1.071 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008103/0.3734, allocations: 271.9 kB / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3734, allocations: 0 / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.3738, allocations: 135.9 kB / 1.071 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.3744, allocations: 75.67 kB / 1.071 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008811/0.3753, allocations: 0.5521 MB / 1.072 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.3757, allocations: 0.7557 MB / 1.072 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.3758, allocations: 19.44 kB / 1.072 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3758, allocations: 0 / 1.072 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of Templates: time 0.006345/0.3822, allocations: 3.41 MB / 1.076 GB, free: 3.801 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches