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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001506/0.001506, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001985/0.001985, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 461.9 MB / 0.7342 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 69.98 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3467, allocations: 157.4 MB / 1.052 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004045/0.3508, allocations: 2.195 MB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.3529, allocations: 1.079 MB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.3531, allocations: 7.938 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.3533, allocations: 15.86 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.3537, allocations: 75.41 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.3543, allocations: 142.7 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.3547, allocations: 278.8 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.3549, allocations: 60.7 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.3551, allocations: 99.56 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.3554, allocations: 135.3 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.3555, allocations: 12 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.3559, allocations: 291.6 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.356, allocations: 39.77 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.3562, allocations: 115.3 kB / 1.057 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.3566, allocations: 327.1 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3567, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.001e-06/0.3567, allocations: 4 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3567, allocations: 0 / 1.057 GB, free: 4.035 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.001274/0.358, allocations: 0.6193 MB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.358, allocations: 12.03 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.3583, allocations: 32.64 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.3587, allocations: 275.6 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3587, allocations: 20.59 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.3588, allocations: 16.38 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.3593, allocations: 232.9 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3593, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.3594, allocations: 7.938 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.3594, allocations: 4 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.3601, allocations: 199.8 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.3613, allocations: 0.9422 MB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.3621, allocations: 245.1 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.3624, allocations: 105.6 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.3624, allocations: 3.938 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3625, allocations: 38.56 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.3625, allocations: 0 / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001121/0.3636, allocations: 333.4 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3637, allocations: 85.09 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.3639, allocations: 259 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.364, allocations: 37.64 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3641, allocations: 160.1 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.3642, allocations: 59.16 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.3643, allocations: 45.64 kB / 1.06 GB, free: 88 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3644, allocations: 338.8 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.3647, allocations: 87.91 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.365, allocations: 148.9 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/0.3657, allocations: 238.4 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3657, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008058/0.3665, allocations: 297 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3665, allocations: 5.094 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3665, allocations: 8.156 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3666, allocations: 0 / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.3668, allocations: 63.89 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3669, allocations: 7.984 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.3671, allocations: 39.75 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3671, allocations: 8 kB / 1.062 GB, free: 14.82 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.0001228/0.3672, allocations: 133.8 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.3674, allocations: 31.56 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007671/0.3681, allocations: 291.3 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3682, allocations: 4 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3682, allocations: 0 / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.3682, allocations: 3.984 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.3685, allocations: 297.3 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3686, allocations: 3.938 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.3688, allocations: 55.95 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3688, allocations: 0 / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3688, allocations: 8 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.3689, allocations: 4 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3689, allocations: 3.938 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007902/0.3697, allocations: 443.4 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.3697, allocations: 104.7 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.3698, allocations: 4 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.37, allocations: 23.95 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.3701, allocations: 19.97 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3701, allocations: 8 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001722/0.3703, allocations: 197.9 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.553e-06/0.3703, allocations: 0 / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003574/0.3707, allocations: 55.88 kB / 1.063 GB, free: 13.06 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.0002197/0.3709, allocations: 115.5 kB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006976/0.3716, allocations: 227.7 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3716, allocations: 4 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.372, allocations: 116.2 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.3727, allocations: 74.56 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.3735, allocations: 0.5119 MB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3738, allocations: 0.7519 MB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000164/0.374, allocations: 38.5 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.374, allocations: 23.44 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.374, allocations: 0 / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of Templates: time 0.007621/0.3817, allocations: 3.567 MB / 1.069 GB, free: 7.645 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/jenkins/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