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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001622/0.001622, allocations: 108 kB / 15.6 MB, free: 132 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.00207/0.00207, allocations: 190.8 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.74/2.74, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 64.98 kB / 0.912 GB, free: 33.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3627, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003405/0.3661, allocations: 2.153 MB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3681, allocations: 1.055 MB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.3683, allocations: 7.938 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.015e-05/0.3684, allocations: 23.67 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.3687, allocations: 79.28 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.3691, allocations: 203.4 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000281/0.3694, allocations: 286.8 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.3695, allocations: 52.72 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3697, allocations: 115.5 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.3699, allocations: 143.4 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.3699, allocations: 19.98 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000377/0.3703, allocations: 291.7 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.3704, allocations: 51.7 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.3705, allocations: 119.3 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.3709, allocations: 335.1 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3709, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3709, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.3709, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 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.001149/0.372, allocations: 0.6193 MB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3721, allocations: 8.031 kB / 1.074 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.3724, allocations: 40.56 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.3728, allocations: 279.5 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3728, allocations: 12.66 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.3728, allocations: 16.38 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.3733, allocations: 236.8 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3734, allocations: 0 / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3734, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3734, allocations: 4 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.374, allocations: 203.8 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3752, allocations: 0.9422 MB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.376, allocations: 241.2 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.3763, allocations: 101.6 kB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3763, allocations: 4.25 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.3763, allocations: 34.55 kB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.3764, allocations: 4 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001139/0.3775, allocations: 337.1 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3775, allocations: 77.11 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.3778, allocations: 271 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3779, allocations: 29.64 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.378, allocations: 168.1 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.378, allocations: 51.2 kB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.3781, allocations: 41.7 kB / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3783, allocations: 334.8 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.3786, allocations: 95.91 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.379, allocations: 137.9 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.3796, allocations: 250.2 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3796, allocations: 4 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007941/0.3804, allocations: 289 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3805, allocations: 8 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3805, allocations: 4.062 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3805, allocations: 7.938 kB / 1.078 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.3808, allocations: 64.11 kB / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3808, allocations: 3.984 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.3811, allocations: 43.7 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.3811, allocations: 8 kB / 1.078 GB, free: 220 kB / 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.000114/0.3812, allocations: 133.8 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3813, allocations: 27.66 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008091/0.3821, allocations: 287.1 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3822, allocations: 4 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3822, allocations: 4 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3822, allocations: 0 / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.3826, allocations: 293.6 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3826, allocations: 7.922 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.3829, allocations: 59.89 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3829, allocations: 3.938 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3829, allocations: 0 / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3829, allocations: 4 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3829, allocations: 4 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009944/0.3839, allocations: 434.3 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.384, allocations: 116.6 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.384, allocations: 4 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.3843, allocations: 23.97 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.3844, allocations: 19.97 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3844, allocations: 8 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000164/0.3846, allocations: 186 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3846, allocations: 4 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000364/0.3849, allocations: 56 kB / 1.079 GB, free: 14.47 MB / 0.8419 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.0002114/0.3852, allocations: 118 kB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007615/0.3859, allocations: 235.9 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3859, allocations: 0 / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.3864, allocations: 115.8 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.387, allocations: 89.45 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.3879, allocations: 444.4 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.3882, allocations: 0.7519 MB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000134/0.3884, allocations: 22.3 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.3884, allocations: 35.42 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3885, allocations: 0 / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.007672/0.3961, allocations: 3.947 MB / 1.085 GB, free: 8.75 MB / 0.8419 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