Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 183.8 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008641/0.0008639, allocations: 97.69 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003145, allocations: 11.72 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1922, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7379/0.9301, allocations: 354.5 MB / 1.246 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.9304, allocations: 94 kB / 1.246 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.03052/0.961, allocations: 13.58 MB / 1.26 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.337e-06/0.961, allocations: 0 / 1.26 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.9611, allocations: 4 kB / 1.26 GB, free: 1.348 MB / 0.7605 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.001053/0.9621, allocations: 473.4 kB / 1.26 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/0.9622, allocations: 11.97 kB / 1.26 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.9623, allocations: 15.81 kB / 1.26 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.9625, allocations: 191.5 kB / 1.26 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.9625, allocations: 15.42 kB / 1.26 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.9626, allocations: 11.5 kB / 1.26 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.963, allocations: 120.7 kB / 1.26 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.963, allocations: 0 / 1.26 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.963, allocations: 11.73 kB / 1.26 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.963, allocations: 4 kB / 1.26 GB, free: 476 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.9635, allocations: 164.1 kB / 1.261 GB, free: 344 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.9647, allocations: 482.4 kB / 1.261 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.9651, allocations: 128.2 kB / 1.261 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.9665, allocations: 0.9642 MB / 1.262 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.9665, allocations: 34.56 kB / 1.262 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.9666, allocations: 0 / 1.262 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0007019/0.9673, allocations: 238.3 kB / 1.262 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.9673, allocations: 59.39 kB / 1.262 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.9675, allocations: 142.2 kB / 1.263 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.9675, allocations: 37.33 kB / 1.263 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.9676, allocations: 107.1 kB / 1.263 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.9677, allocations: 39.2 kB / 1.263 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.9677, allocations: 3.562 kB / 1.263 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9679, allocations: 322.6 kB / 1.263 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.9681, allocations: 93.75 kB / 1.263 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.9683, allocations: 123 kB / 1.263 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.9686, allocations: 100.5 kB / 1.263 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.9686, allocations: 0 / 1.263 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000565/0.9692, allocations: 263.3 kB / 1.264 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.9692, allocations: 12.05 kB / 1.264 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9692, allocations: 0 / 1.264 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.9693, allocations: 4 kB / 1.264 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.9695, allocations: 59.89 kB / 1.264 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.9696, allocations: 4 kB / 1.264 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.9697, allocations: 35.33 kB / 1.264 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.9698, allocations: 11.56 kB / 1.264 GB, free: 13.21 MB / 0.7761 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 () * Number of clocked 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.0001251/0.9699, allocations: 125.3 kB / 1.264 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.97, allocations: 15.75 kB / 1.264 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.9705, allocations: 194.7 kB / 1.264 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.9705, allocations: 4 kB / 1.264 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.9705, allocations: 0 / 1.264 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9705, allocations: 0 / 1.264 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.9707, allocations: 219.8 kB / 1.264 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9708, allocations: 4 kB / 1.264 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.9709, allocations: 39.91 kB / 1.264 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9709, allocations: 0 / 1.264 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.971, allocations: 3.438 kB / 1.264 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.971, allocations: 3.953 kB / 1.264 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.971, allocations: 0 / 1.264 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.9715, allocations: 276.2 kB / 1.265 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.9715, allocations: 88.92 kB / 1.265 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.9716, allocations: 11.92 kB / 1.265 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.9717, allocations: 19.42 kB / 1.265 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.9718, allocations: 11.94 kB / 1.265 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.9718, allocations: 0 / 1.265 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.366e-05/0.9719, allocations: 114.2 kB / 1.265 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9719, allocations: 4 kB / 1.265 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003636/0.9723, allocations: 58.94 kB / 1.265 GB, free: 12.06 MB / 0.7761 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 () * Number of clocked 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.0003815/0.9726, allocations: 193.5 kB / 1.265 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.9731, allocations: 191.3 kB / 1.265 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.9732, allocations: 0 / 1.265 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.9734, allocations: 86.27 kB / 1.265 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.9736, allocations: 17.17 kB / 1.265 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.9741, allocations: 345.8 kB / 1.266 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.9744, allocations: 0.7087 MB / 1.266 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.9745, allocations: 29 kB / 1.266 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.9746, allocations: 19.38 kB / 1.266 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of SimCode: time 2.6e-07/0.9746, allocations: 0 / 1.266 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.005567/0.9801, allocations: 2.636 MB / 1.269 GB, free: 7.91 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches