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.531/1.531, allocations: 249.5 MB / 257 MB, free: 6.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 179.1 kB / 316.3 MB, free: 3.227 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.824/1.824, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008583/0.0008582, allocations: 90.22 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.897e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.253, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.362, allocations: 354.7 MB / 1.232 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.363, allocations: 94.38 kB / 1.232 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03106/1.394, allocations: 13.45 MB / 1.245 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.374e-06/1.394, allocations: 0 / 1.245 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.394, allocations: 0 / 1.245 GB, free: 4.18 MB / 0.8542 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.0008391/1.395, allocations: 458.8 kB / 1.245 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/1.395, allocations: 8.031 kB / 1.245 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/1.395, allocations: 15.81 kB / 1.245 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/1.395, allocations: 182.8 kB / 1.245 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/1.395, allocations: 4 kB / 1.245 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/1.395, allocations: 11.94 kB / 1.245 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000215/1.395, allocations: 92.47 kB / 1.246 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/1.395, allocations: 80.83 kB / 1.246 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.395, allocations: 3.938 kB / 1.246 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.395, allocations: 0 / 1.246 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/1.395, allocations: 4 kB / 1.246 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009807/1.396, allocations: 441.5 kB / 1.246 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/1.397, allocations: 99.25 kB / 1.246 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/1.397, allocations: 42.8 kB / 1.246 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/1.398, allocations: 0.9717 MB / 1.247 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.398, allocations: 30.56 kB / 1.247 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/1.398, allocations: 0 / 1.247 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0004417/1.399, allocations: 128.2 kB / 1.247 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.399, allocations: 63.28 kB / 1.247 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/1.399, allocations: 141.4 kB / 1.247 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/1.399, allocations: 25.7 kB / 1.248 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/1.399, allocations: 110.9 kB / 1.248 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/1.399, allocations: 45.36 kB / 1.248 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/1.399, allocations: 0 / 1.248 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.399, allocations: 324.4 kB / 1.248 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/1.399, allocations: 44.56 kB / 1.248 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/1.399, allocations: 81.98 kB / 1.248 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/1.4, allocations: 122.2 kB / 1.248 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.4, allocations: 0 / 1.248 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006528/1.4, allocations: 246.8 kB / 1.248 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.401, allocations: 8 kB / 1.248 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/1.401, allocations: 3.953 kB / 1.248 GB, free: 500 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.401, allocations: 8.094 kB / 1.248 GB, free: 492 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/1.401, allocations: 55.91 kB / 1.249 GB, free: 436 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/1.401, allocations: 0 / 1.249 GB, free: 436 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/1.401, allocations: 35.72 kB / 1.249 GB, free: 400 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/1.401, allocations: 11.56 kB / 1.249 GB, free: 392 kB / 0.8542 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 8.669e-05/1.401, allocations: 108.9 kB / 1.249 GB, free: 276 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/1.401, allocations: 7.906 kB / 1.249 GB, free: 268 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/1.402, allocations: 157.9 kB / 1.249 GB, free: 136 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/1.402, allocations: 7.938 kB / 1.249 GB, free: 128 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.402, allocations: 4 kB / 1.249 GB, free: 124 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.402, allocations: 0 / 1.249 GB, free: 124 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6377/2.039, allocations: 176.5 kB / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/2.039, allocations: 0 / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/2.04, allocations: 38.45 kB / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/2.04, allocations: 1.047 kB / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/2.04, allocations: 2 kB / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/2.04, allocations: 5.031 kB / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/2.04, allocations: 0 / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/2.04, allocations: 232.9 kB / 1.249 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/2.04, allocations: 92.44 kB / 1.249 GB, free: 309 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/2.04, allocations: 1.141 kB / 1.249 GB, free: 309 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/2.041, allocations: 16.7 kB / 1.249 GB, free: 309 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.209e-05/2.041, allocations: 14.33 kB / 1.249 GB, free: 309 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/2.041, allocations: 3.438 kB / 1.249 GB, free: 309 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.843e-05/2.041, allocations: 107.8 kB / 1.249 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/2.041, allocations: 0.5938 kB / 1.249 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005978/2.041, allocations: 68.14 kB / 1.25 GB, free: 308.9 MB / 0.8542 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.0004097/2.042, allocations: 168.9 kB / 1.25 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003441/2.042, allocations: 111.8 kB / 1.25 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/2.042, allocations: 8.156 kB / 1.25 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/2.042, allocations: 39.98 kB / 1.25 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/2.043, allocations: 18.67 kB / 1.25 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/2.043, allocations: 141.6 kB / 1.25 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/2.043, allocations: 0.7106 MB / 1.251 GB, free: 308 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001129/2.043, allocations: 24.69 kB / 1.251 GB, free: 308 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/2.043, allocations: 18.39 kB / 1.251 GB, free: 308 MB / 0.8542 GB Notification: Performance of SimCode: time 3.2e-07/2.043, allocations: 0 / 1.251 GB, free: 308 MB / 0.8542 GB Notification: Performance of Templates: time 0.007396/2.051, allocations: 2.429 MB / 1.253 GB, free: 307.9 MB / 0.8542 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