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.006045/0.006045, allocations: 101.3 kB / 15.88 MB, free: 5.863 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.001285/0.001285, allocations: 190.9 kB / 16.79 MB, free: 5.805 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.424/1.424, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.872/2.872, allocations: 461.9 MB / 0.7348 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 65.78 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3571, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003378/0.3605, allocations: 2.201 MB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3622, allocations: 1.071 MB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3623, allocations: 0 / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.947e-05/0.3624, allocations: 15.8 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.3627, allocations: 79.39 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.3631, allocations: 146.8 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.3634, allocations: 282.8 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.3635, allocations: 56.7 kB / 1.057 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3637, allocations: 103.6 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.3639, allocations: 139.3 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.3639, allocations: 8 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.3643, allocations: 283.7 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.3644, allocations: 47.77 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3645, allocations: 111.3 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.3648, allocations: 231.7 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3648, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.3648, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3648, allocations: 0 / 1.057 GB, free: 3.453 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.001066/0.3659, allocations: 0.6194 MB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3659, allocations: 15.97 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.3661, allocations: 32.66 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.3665, allocations: 287.5 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3665, allocations: 8.656 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.3665, allocations: 16.38 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.3671, allocations: 236.8 kB / 1.059 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3671, allocations: 0 / 1.059 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.3671, allocations: 4 kB / 1.059 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3671, allocations: 8 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000638/0.3678, allocations: 199.8 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.3689, allocations: 0.9423 MB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.3697, allocations: 249.2 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.37, allocations: 105.6 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.3701, allocations: 8.234 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.3701, allocations: 34.56 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 3.957e-06/0.3701, allocations: 4 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001161/0.3713, allocations: 333 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3713, allocations: 81.05 kB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.3716, allocations: 267.1 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3717, allocations: 33.7 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3718, allocations: 160 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.3718, allocations: 55.16 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.3719, allocations: 41.7 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.372, allocations: 338.8 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.3724, allocations: 87.92 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.3727, allocations: 145.9 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/0.3734, allocations: 237.7 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3734, allocations: 0 / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008289/0.3742, allocations: 297 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3742, allocations: 4 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3743, allocations: 0 / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.3743, allocations: 4.25 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.3746, allocations: 67.89 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.3746, allocations: 11.92 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.3749, allocations: 39.75 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.3749, allocations: 4 kB / 1.062 GB, free: 14.23 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.0001403/0.375, allocations: 129.8 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.3752, allocations: 35.56 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008016/0.376, allocations: 295.8 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.376, allocations: 4 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.376, allocations: 0 / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.376, allocations: 3.984 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.3764, allocations: 289.3 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3764, allocations: 3.938 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.3767, allocations: 59.89 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3767, allocations: 0 / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3767, allocations: 4 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3767, allocations: 4 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3767, allocations: 0 / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.3775, allocations: 448 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.3776, allocations: 100.7 kB / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.3777, allocations: 12 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.3779, allocations: 27.89 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.378, allocations: 15.98 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.378, allocations: 4 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001783/0.3782, allocations: 190 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3782, allocations: 4 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003642/0.3786, allocations: 63.92 kB / 1.064 GB, free: 12.47 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.0002267/0.3788, allocations: 111.4 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007423/0.3796, allocations: 231.9 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3796, allocations: 0 / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.38, allocations: 119.8 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/0.3806, allocations: 66.5 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008526/0.3815, allocations: 0.5488 MB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3818, allocations: 0.7518 MB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.3819, allocations: 27.42 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of SimCode: time 4.6e-07/0.3819, allocations: 0 / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.005559/0.3875, allocations: 3.441 MB / 1.069 GB, free: 7.152 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