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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 179 kB / 0.4902 GB, free: 2.273 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 223.1 MB / 0.7992 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 97.02 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.000449, allocations: 18.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3612, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.56, allocations: 152.5 MB / 1.378 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.5603, allocations: 87.94 kB / 1.378 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02299/0.5833, allocations: 7.666 MB / 1.386 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5834, allocations: 0 / 1.386 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.5834, allocations: 4 kB / 1.386 GB, free: 9.238 MB / 0.8855 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.001063/0.5845, allocations: 0.6153 MB / 1.386 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5845, allocations: 8.562 kB / 1.386 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.5847, allocations: 27.72 kB / 1.386 GB, free: 8.535 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.5852, allocations: 298.6 kB / 1.387 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.5852, allocations: 12.28 kB / 1.387 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.5853, allocations: 16 kB / 1.387 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.5858, allocations: 252.6 kB / 1.387 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5858, allocations: 0 / 1.387 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.5858, allocations: 8 kB / 1.387 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.5859, allocations: 4 kB / 1.387 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.5865, allocations: 243.5 kB / 1.387 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.5878, allocations: 0.9695 MB / 1.388 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/0.5886, allocations: 261.2 kB / 1.388 GB, free: 6.348 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.5886, allocations: 4 kB / 1.388 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.5887, allocations: 30.56 kB / 1.388 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.5887, allocations: 4 kB / 1.388 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.001199/0.5899, allocations: 401.3 kB / 1.389 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.5899, allocations: 85.11 kB / 1.389 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.5902, allocations: 238.1 kB / 1.389 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.5902, allocations: 25.7 kB / 1.389 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.5903, allocations: 156.2 kB / 1.389 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.5904, allocations: 59.19 kB / 1.389 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.5904, allocations: 0 / 1.389 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5906, allocations: 342.8 kB / 1.39 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.5909, allocations: 115.8 kB / 1.39 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.5913, allocations: 161.9 kB / 1.39 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.5917, allocations: 124.5 kB / 1.39 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5917, allocations: 3.938 kB / 1.39 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008667/0.5925, allocations: 337.2 kB / 1.39 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5926, allocations: 8.031 kB / 1.39 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5926, allocations: 4 kB / 1.39 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.5926, allocations: 0 / 1.39 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.5929, allocations: 75.88 kB / 1.39 GB, free: 4.125 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-06/0.593, allocations: 4.062 kB / 1.39 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.5932, allocations: 55.72 kB / 1.39 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.5933, allocations: 11.98 kB / 1.39 GB, free: 4.055 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.5934, allocations: 134.2 kB / 1.391 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5935, allocations: 27.72 kB / 1.391 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008401/0.5944, allocations: 335.1 kB / 1.391 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5944, allocations: 0 / 1.391 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5944, allocations: 0 / 1.391 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5944, allocations: 4 kB / 1.391 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.5948, allocations: 297.3 kB / 1.391 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5948, allocations: 0 / 1.391 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.5951, allocations: 67.94 kB / 1.391 GB, free: 3.145 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5951, allocations: 0 / 1.391 GB, free: 3.145 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.5951, allocations: 8.281 kB / 1.391 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5951, allocations: 3.938 kB / 1.391 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5951, allocations: 0 / 1.391 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.596, allocations: 492.8 kB / 1.392 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-05/0.5961, allocations: 112.8 kB / 1.392 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.5961, allocations: 0 / 1.392 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.5964, allocations: 35.97 kB / 1.392 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.5965, allocations: 19.97 kB / 1.392 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.5965, allocations: 4 kB / 1.392 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001717/0.5967, allocations: 197.9 kB / 1.392 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5967, allocations: 0 / 1.392 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003693/0.597, allocations: 64.09 kB / 1.392 GB, free: 2.188 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002513/0.5973, allocations: 128 kB / 1.392 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007394/0.598, allocations: 265.1 kB / 1.393 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5981, allocations: 4 kB / 1.393 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.5984, allocations: 139.9 kB / 1.393 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.5989, allocations: 77.17 kB / 1.393 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/0.5997, allocations: 0.4977 MB / 1.393 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.6, allocations: 0.7518 MB / 1.394 GB, free: 272 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.6002, allocations: 34.27 kB / 1.394 GB, free: 236 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.6003, allocations: 23.44 kB / 1.394 GB, free: 212 kB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.6003, allocations: 4 kB / 1.394 GB, free: 208 kB / 0.8855 GB Notification: Performance of Templates: time 0.00682/0.6071, allocations: 3.387 MB / 1.397 GB, free: 12.88 MB / 0.9011 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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches