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.001471/0.001471, 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.001751/0.001751, allocations: 192 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 65.44 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3896, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004272/0.3939, allocations: 2.189 MB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.396, allocations: 1.075 MB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.3962, allocations: 7.938 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.375e-05/0.3963, allocations: 19.84 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.3967, allocations: 67.42 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.3972, allocations: 151 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.3976, allocations: 282.8 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.3978, allocations: 56.72 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.398, allocations: 103.5 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.3983, allocations: 131.4 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.3983, allocations: 12 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.3988, allocations: 283.7 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.3989, allocations: 47.75 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.399, allocations: 115.2 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.3994, allocations: 327.1 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3994, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3994, allocations: 4 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.3995, allocations: 0 / 1.072 GB, free: 6.027 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.001163/0.4006, allocations: 0.6194 MB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4007, allocations: 8.031 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.4009, allocations: 36.56 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.4013, allocations: 279.5 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.4013, allocations: 12.66 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.4014, allocations: 16.38 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.402, allocations: 236.9 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.402, allocations: 3.938 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.402, allocations: 4 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.402, allocations: 4 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/0.4027, allocations: 203.8 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.404, allocations: 0.9423 MB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.4048, allocations: 241.2 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.4052, allocations: 101.6 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.4052, allocations: 3.938 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4052, allocations: 42.55 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.4052, allocations: 0 / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001177/0.4064, allocations: 337.3 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.4065, allocations: 81.05 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.4068, allocations: 267 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4069, allocations: 29.7 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.407, allocations: 164 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.407, allocations: 51.25 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.4071, allocations: 45.7 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4073, allocations: 334.8 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.4077, allocations: 91.91 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.408, allocations: 145.9 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/0.4087, allocations: 238.4 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4087, allocations: 0 / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008846/0.4096, allocations: 297 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4097, allocations: 4 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4097, allocations: 8.141 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4097, allocations: 4 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.41, allocations: 63.89 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.41, allocations: 4 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.4103, allocations: 43.64 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.4103, allocations: 8 kB / 1.077 GB, free: 0.8086 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.0001433/0.4105, allocations: 137.8 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.4106, allocations: 27.66 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008392/0.4114, allocations: 291.2 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.4115, allocations: 4 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4115, allocations: 0 / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4115, allocations: 0 / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.4119, allocations: 297.3 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/0.4119, allocations: 7.984 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.4122, allocations: 63.88 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4122, allocations: 0 / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.4122, allocations: 8 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4122, allocations: 0 / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4122, allocations: 3.938 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000842/0.4131, allocations: 434.3 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.4132, allocations: 108.7 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.4132, allocations: 4 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.4135, allocations: 23.97 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.4136, allocations: 27.84 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.4136, allocations: 4 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001894/0.4138, allocations: 194 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4138, allocations: 0 / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003686/0.4142, allocations: 55.94 kB / 1.079 GB, free: 15.05 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.0002538/0.4144, allocations: 119.5 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007909/0.4152, allocations: 223.7 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4152, allocations: 0 / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.4156, allocations: 124.5 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/0.4163, allocations: 69.52 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.4172, allocations: 0.5159 MB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.4176, allocations: 0.7519 MB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.4177, allocations: 26.53 kB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.4178, allocations: 31.42 kB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of SimCode: time 2.274e-06/0.4178, allocations: 0 / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.00844/0.4263, allocations: 3.563 MB / 1.084 GB, free: 9.648 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