Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00182/0.001821, allocations: 104 kB / 16.27 MB, free: 6.414 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.002023/0.002023, allocations: 189.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437.1 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 76.47 kB / 0.8699 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3597, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007706/0.3675, allocations: 4.571 MB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3688, allocations: 0.8108 MB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.3689, allocations: 3.938 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.3692, allocations: 31.83 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.608e-05/0.3693, allocations: 39.64 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.3699, allocations: 167.4 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.3701, allocations: 171.4 kB / 1.024 GB, free: 4.762 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.3703, allocations: 29.09 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.3705, allocations: 71.77 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.3706, allocations: 79.67 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.3707, allocations: 12 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.3711, allocations: 155.8 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.3712, allocations: 35.89 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.369e-05/0.3713, allocations: 67.66 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.3717, allocations: 235.6 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3717, allocations: 0 / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3717, allocations: 0 / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.3717, allocations: 0 / 1.024 GB, free: 4.086 MB / 0.795 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.001116/0.3728, allocations: 478.9 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.3729, allocations: 16.03 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.373, allocations: 12.75 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3732, allocations: 190.5 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3732, allocations: 8.375 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.3732, allocations: 16.36 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.3736, allocations: 117.8 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3736, allocations: 0 / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3736, allocations: 4 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3737, allocations: 4 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.3741, allocations: 146.6 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.3752, allocations: 472.4 kB / 1.026 GB, free: 2.516 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.3756, allocations: 118.5 kB / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.3758, allocations: 80.8 kB / 1.026 GB, free: 2.309 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/0.3773, allocations: 0.9529 MB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3774, allocations: 38.5 kB / 1.027 GB, free: 1.172 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.3774, allocations: 0 / 1.027 GB, free: 1.172 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0007531/0.3782, allocations: 221.5 kB / 1.027 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.3782, allocations: 51.41 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.3784, allocations: 168.3 kB / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.3785, allocations: 29.7 kB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.3786, allocations: 108.3 kB / 1.027 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.3786, allocations: 47.3 kB / 1.027 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.3787, allocations: 49.7 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3789, allocations: 326.8 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.3792, allocations: 79.88 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.3795, allocations: 110 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.3799, allocations: 175.2 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3799, allocations: 0 / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005797/0.3805, allocations: 243 kB / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3806, allocations: 8 kB / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3806, allocations: 0 / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3806, allocations: 3.938 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.3809, allocations: 59.95 kB / 1.028 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3809, allocations: 4.031 kB / 1.028 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.381, allocations: 39.67 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.3811, allocations: 4 kB / 1.029 GB, free: 15.4 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.3812, allocations: 121.8 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.3812, allocations: 11.81 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.3817, allocations: 182.9 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3818, allocations: 0 / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3818, allocations: 0 / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3818, allocations: 7.922 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.382, allocations: 213.6 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3821, allocations: 0 / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.3822, allocations: 27.98 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3822, allocations: 3.984 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3822, allocations: 3.938 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3822, allocations: 4 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3823, allocations: 4 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.3827, allocations: 259.2 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.3828, allocations: 93 kB / 1.029 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3829, allocations: 3.938 kB / 1.029 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.383, allocations: 19.98 kB / 1.029 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.3831, allocations: 11.92 kB / 1.029 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.3831, allocations: 7.984 kB / 1.029 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.405e-05/0.3832, allocations: 115.9 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3832, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003412/0.3835, allocations: 68.3 kB / 1.03 GB, free: 14.16 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003184/0.3839, allocations: 151.2 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005218/0.3844, allocations: 176 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3844, allocations: 4 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.3846, allocations: 63.89 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.385, allocations: 33.47 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.3856, allocations: 286.7 kB / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3859, allocations: 0.7084 MB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.386, allocations: 19.44 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of SimCode: time 4.4e-07/0.386, allocations: 0 / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of Templates: time 0.005029/0.391, allocations: 2.552 MB / 1.033 GB, free: 10.14 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches