Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.000965, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001074/0.001075, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.2 MB / 0.6653 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 12 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7817, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004958/0.7867, allocations: 3.897 MB / 0.9573 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.7878, allocations: 0.6954 MB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.7879, allocations: 4 kB / 0.958 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.788, allocations: 33.38 kB / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.7881, allocations: 38.17 kB / 0.9581 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.7886, allocations: 128.8 kB / 0.9582 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.7888, allocations: 112.3 kB / 0.9583 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.7889, allocations: 22.33 kB / 0.9583 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.7891, allocations: 63.56 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.7893, allocations: 73.86 kB / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.7893, allocations: 5.469 kB / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.7896, allocations: 120.6 kB / 0.9586 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.7897, allocations: 28.61 kB / 0.9586 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.7897, allocations: 50.42 kB / 0.9587 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.79, allocations: 155.5 kB / 0.9588 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.79, allocations: 0 / 0.9588 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.715e-06/0.79, allocations: 0 / 0.9588 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.79, allocations: 0 / 0.9588 GB, free: 3.879 MB / 0.7169 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.0008078/0.7908, allocations: 474.4 kB / 0.9593 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.7909, allocations: 8.25 kB / 0.9593 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.7909, allocations: 10.78 kB / 0.9593 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.791, allocations: 187.1 kB / 0.9595 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.791, allocations: 8.125 kB / 0.9595 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.7911, allocations: 16.25 kB / 0.9595 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.7914, allocations: 120.5 kB / 0.9596 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7914, allocations: 0 / 0.9596 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.7915, allocations: 5.328 kB / 0.9596 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.7915, allocations: 1.375 kB / 0.9596 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.7919, allocations: 163 kB / 0.9598 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009151/0.7928, allocations: 480.1 kB / 0.9602 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.7931, allocations: 134.4 kB / 0.9603 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.7943, allocations: 0.9632 MB / 0.9613 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.7943, allocations: 43.61 kB / 0.9613 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.7943, allocations: 1.031 kB / 0.9613 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0007307/0.7951, allocations: 238.5 kB / 0.9615 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.7951, allocations: 52.78 kB / 0.9616 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.7953, allocations: 166.8 kB / 0.9618 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.7953, allocations: 33.7 kB / 0.9618 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.7954, allocations: 109.8 kB / 0.9619 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.7954, allocations: 44.94 kB / 0.9619 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.7954, allocations: 0 / 0.9619 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.7955, allocations: 329.5 kB / 0.9623 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.7957, allocations: 81.73 kB / 0.9623 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.796, allocations: 122.7 kB / 0.9624 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.7963, allocations: 97.92 kB / 0.9625 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7963, allocations: 5.25 kB / 0.9625 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000574/0.7968, allocations: 262.1 kB / 0.9628 GB, free: 412 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.7969, allocations: 6.938 kB / 0.9628 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7969, allocations: 4.969 kB / 0.9628 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.7969, allocations: 2.031 kB / 0.9628 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.7972, allocations: 66.14 kB / 0.9629 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.7972, allocations: 2 kB / 0.9629 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.7974, allocations: 30.95 kB / 0.9629 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.7974, allocations: 15.36 kB / 0.9629 GB, free: 364 kB / 0.7169 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 8.573e-05/0.7975, allocations: 126.7 kB / 0.963 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.7976, allocations: 13.03 kB / 0.963 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.7981, allocations: 199.2 kB / 0.9632 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7981, allocations: 2.469 kB / 0.9632 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7981, allocations: 0 / 0.9632 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7981, allocations: 0 / 0.9632 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.7984, allocations: 222.6 kB / 0.9635 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.7984, allocations: 8 kB / 0.9635 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.7985, allocations: 34.33 kB / 0.9635 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.7985, allocations: 1.312 kB / 0.9635 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.7986, allocations: 1.156 kB / 0.9635 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7986, allocations: 3.984 kB / 0.9635 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7986, allocations: 0.9688 kB / 0.9635 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.7991, allocations: 279.3 kB / 0.9638 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/0.7992, allocations: 102 kB / 0.9639 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.7992, allocations: 5.094 kB / 0.9639 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.7994, allocations: 15.55 kB / 0.9639 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.7994, allocations: 12.7 kB / 0.9639 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.7995, allocations: 2.562 kB / 0.9639 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.7996, allocations: 119.7 kB / 0.964 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7996, allocations: 1.062 kB / 0.964 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003775/0.7999, allocations: 59.95 kB / 0.9641 GB, free: 15.4 MB / 0.7325 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.0003413/0.8003, allocations: 163.7 kB / 0.9642 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000547/0.8008, allocations: 193.1 kB / 0.9644 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8009, allocations: 3.938 kB / 0.9644 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.8011, allocations: 79.98 kB / 0.9645 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.8014, allocations: 23.98 kB / 0.9645 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.802, allocations: 361.9 kB / 0.9649 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.8023, allocations: 0.7037 MB / 0.9655 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.8025, allocations: 20.7 kB / 0.9656 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.8025, allocations: 15.91 kB / 0.9656 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.8025, allocations: 0 / 0.9656 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.006067/0.8086, allocations: 2.468 MB / 0.968 GB, free: 12.89 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches