Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001424/0.001424, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0008669/0.0008671, allocations: 103.7 kB / 0.9318 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.052e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3476, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/1.698, allocations: 374.1 MB / 1.584 GB, free: 11.64 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004318/1.699, allocations: 92.09 kB / 1.584 GB, free: 11.59 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03397/1.733, allocations: 14.15 MB / 1.598 GB, free: 14.11 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.054e-06/1.733, allocations: 0 / 1.598 GB, free: 14.11 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.297e-05/1.733, allocations: 4 kB / 1.598 GB, free: 14.1 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008598/1.734, allocations: 458.7 kB / 1.598 GB, free: 13.61 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/1.734, allocations: 8.031 kB / 1.598 GB, free: 13.6 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/1.734, allocations: 27.7 kB / 1.598 GB, free: 13.57 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/1.734, allocations: 181.6 kB / 1.599 GB, free: 13.36 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/1.734, allocations: 11.91 kB / 1.599 GB, free: 13.35 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/1.734, allocations: 15.98 kB / 1.599 GB, free: 13.33 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/1.734, allocations: 85.66 kB / 1.599 GB, free: 13.24 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.734, allocations: 7.938 kB / 1.599 GB, free: 13.23 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/1.734, allocations: 4 kB / 1.599 GB, free: 13.23 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.734, allocations: 0 / 1.599 GB, free: 13.23 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/1.734, allocations: 95.97 kB / 1.599 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/1.736, allocations: 472.3 kB / 1.599 GB, free: 12.62 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/1.736, allocations: 106.6 kB / 1.599 GB, free: 12.51 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.684e-05/1.736, allocations: 44.86 kB / 1.599 GB, free: 12.46 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/1.737, allocations: 0.9802 MB / 1.6 GB, free: 11.35 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/1.737, allocations: 30.56 kB / 1.6 GB, free: 11.31 MB / 1.057 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/1.737, allocations: 0 / 1.6 GB, free: 11.31 MB / 1.057 GB Notification: Performance of matching and sorting (n=12): time 0.000283/1.738, allocations: 109.6 kB / 1.601 GB, free: 11.2 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.738, allocations: 51.41 kB / 1.601 GB, free: 11.13 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/1.738, allocations: 152.3 kB / 1.601 GB, free: 10.98 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/1.738, allocations: 25.7 kB / 1.601 GB, free: 10.95 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/1.738, allocations: 112.3 kB / 1.601 GB, free: 10.84 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/1.738, allocations: 43.39 kB / 1.601 GB, free: 10.79 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/1.738, allocations: 8 kB / 1.601 GB, free: 10.79 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.738, allocations: 322.8 kB / 1.601 GB, free: 10.46 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/1.738, allocations: 48 kB / 1.601 GB, free: 10.41 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/1.738, allocations: 92.23 kB / 1.601 GB, free: 10.31 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/1.739, allocations: 64.64 kB / 1.601 GB, free: 10.25 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.739, allocations: 0 / 1.601 GB, free: 10.25 MB / 1.057 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003345/1.739, allocations: 194.8 kB / 1.602 GB, free: 10.05 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.739, allocations: 5.406 kB / 1.602 GB, free: 10.05 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.739, allocations: 0 / 1.602 GB, free: 10.05 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.739, allocations: 8.094 kB / 1.602 GB, free: 10.04 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/1.739, allocations: 63.89 kB / 1.602 GB, free: 9.98 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.739, allocations: 4 kB / 1.602 GB, free: 9.977 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/1.739, allocations: 31.83 kB / 1.602 GB, free: 9.945 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/1.739, allocations: 4 kB / 1.602 GB, free: 9.941 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001054/1.74, allocations: 120.9 kB / 1.602 GB, free: 9.816 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/1.74, allocations: 15.77 kB / 1.602 GB, free: 9.801 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/1.74, allocations: 138 kB / 1.602 GB, free: 9.66 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.74, allocations: 0 / 1.602 GB, free: 9.66 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.74, allocations: 0 / 1.602 GB, free: 9.66 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.74, allocations: 0 / 1.602 GB, free: 9.66 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/1.74, allocations: 213.6 kB / 1.602 GB, free: 9.402 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.74, allocations: 4 kB / 1.602 GB, free: 9.398 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/1.74, allocations: 39.97 kB / 1.602 GB, free: 9.359 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/1.74, allocations: 3.953 kB / 1.602 GB, free: 9.355 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/1.74, allocations: 8 kB / 1.602 GB, free: 9.348 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/1.74, allocations: 0 / 1.602 GB, free: 9.348 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.74, allocations: 0 / 1.602 GB, free: 9.348 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/1.741, allocations: 211.4 kB / 1.602 GB, free: 9.125 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/1.741, allocations: 88.92 kB / 1.603 GB, free: 9.02 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/1.741, allocations: 7.953 kB / 1.603 GB, free: 9.012 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/1.741, allocations: 19.98 kB / 1.603 GB, free: 8.992 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/1.741, allocations: 11.92 kB / 1.603 GB, free: 8.98 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/1.741, allocations: 4 kB / 1.603 GB, free: 8.977 MB / 1.057 GB Notification: Performance of sorting global known variables: time 7.48e-05/1.741, allocations: 115.6 kB / 1.603 GB, free: 8.863 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.5e-07/1.741, allocations: 0 / 1.603 GB, free: 8.863 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003697/1.741, allocations: 76.23 kB / 1.603 GB, free: 8.789 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0003762/1.742, allocations: 171.1 kB / 1.603 GB, free: 8.613 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002576/1.742, allocations: 123.9 kB / 1.603 GB, free: 8.492 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.742, allocations: 0 / 1.603 GB, free: 8.492 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/1.742, allocations: 40 kB / 1.603 GB, free: 8.453 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/1.742, allocations: 24.11 kB / 1.603 GB, free: 8.43 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/1.743, allocations: 153.9 kB / 1.603 GB, free: 8.25 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.743, allocations: 0.7087 MB / 1.604 GB, free: 7.516 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001053/1.743, allocations: 13.22 kB / 1.604 GB, free: 7.5 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/1.743, allocations: 19.42 kB / 1.604 GB, free: 7.484 MB / 1.057 GB Notification: Performance of SimCode: time 2.81e-07/1.743, allocations: 0 / 1.604 GB, free: 7.484 MB / 1.057 GB Notification: Performance of Templates: time 0.006155/1.75, allocations: 2.72 MB / 1.607 GB, free: 4.789 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches