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.001088/0.001088, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008268/0.008268, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.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.642/2.642, allocations: 437.8 MB / 0.7121 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 15.94 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6394/0.6398, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004701/0.6445, allocations: 4.239 MB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.6456, allocations: 0.8187 MB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.6456, allocations: 4 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.6458, allocations: 23.89 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.6459, allocations: 27.77 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.6463, allocations: 151.5 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.6465, allocations: 163.4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.926e-05/0.6466, allocations: 13.12 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.6467, allocations: 71.75 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.6468, allocations: 83.66 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.6469, allocations: 4 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.6472, allocations: 143.8 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.6472, allocations: 27.89 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.767e-05/0.6473, allocations: 85.36 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.6476, allocations: 221.4 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.6477, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.226e-06/0.6477, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.6477, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 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.0007997/0.6485, allocations: 474.9 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.6485, allocations: 12.03 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.6486, allocations: 12.84 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.6487, allocations: 189.6 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.6488, allocations: 12.38 kB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.6488, allocations: 8.375 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.6491, allocations: 147.5 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.6492, allocations: 0 / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.6492, allocations: 4 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.6492, allocations: 0 / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.6497, allocations: 163.9 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.6506, allocations: 472.4 kB / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.6509, allocations: 130.5 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.6511, allocations: 80.81 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.6525, allocations: 0.9606 MB / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.6525, allocations: 34.56 kB / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 4.037e-06/0.6525, allocations: 3.984 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006926/0.6532, allocations: 257.2 kB / 1.032 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.6533, allocations: 51.41 kB / 1.032 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.6534, allocations: 163.3 kB / 1.032 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.6535, allocations: 29.7 kB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.6536, allocations: 116.3 kB / 1.032 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.6536, allocations: 35.45 kB / 1.032 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.6536, allocations: 29.7 kB / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6538, allocations: 326.8 kB / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.654, allocations: 91.88 kB / 1.033 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.6543, allocations: 116.7 kB / 1.033 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.6547, allocations: 199.8 kB / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6548, allocations: 0 / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000594/0.6554, allocations: 267.4 kB / 1.033 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6554, allocations: 4 kB / 1.033 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6554, allocations: 4 kB / 1.033 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.6554, allocations: 3.938 kB / 1.033 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.6557, allocations: 68.05 kB / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.6557, allocations: 3.938 kB / 1.033 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.6559, allocations: 31.83 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.6559, allocations: 11.98 kB / 1.033 GB, free: 4.883 MB / 0.7794 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 9.874e-05/0.656, allocations: 118.4 kB / 1.033 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.6561, allocations: 15.81 kB / 1.033 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.6566, allocations: 206.8 kB / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6566, allocations: 0 / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6566, allocations: 0 / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.6566, allocations: 3.984 kB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.6569, allocations: 217.5 kB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6569, allocations: 4 kB / 1.034 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.657, allocations: 27.98 kB / 1.034 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.6571, allocations: 7.984 kB / 1.034 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.6571, allocations: 7.938 kB / 1.034 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6571, allocations: 0 / 1.034 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6571, allocations: 3.938 kB / 1.034 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.6576, allocations: 279.2 kB / 1.034 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.6577, allocations: 96.94 kB / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.6577, allocations: 7.938 kB / 1.034 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.6578, allocations: 23.98 kB / 1.034 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.6579, allocations: 11.97 kB / 1.034 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.6579, allocations: 4 kB / 1.034 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.332e-05/0.658, allocations: 122.3 kB / 1.034 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.244e-06/0.658, allocations: 0 / 1.034 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003379/0.6584, allocations: 64.22 kB / 1.034 GB, free: 3.59 MB / 0.7794 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.0003221/0.6587, allocations: 155.1 kB / 1.035 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005472/0.6592, allocations: 195.8 kB / 1.035 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6593, allocations: 0 / 1.035 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.6595, allocations: 76.14 kB / 1.035 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.6598, allocations: 16.73 kB / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.6604, allocations: 302.8 kB / 1.035 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.6606, allocations: 0.7087 MB / 1.036 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.6607, allocations: 22.7 kB / 1.036 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.6608, allocations: 23.42 kB / 1.036 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.6608, allocations: 4 kB / 1.036 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of Templates: time 0.005729/0.6665, allocations: 2.528 MB / 1.038 GB, free: 15.54 MB / 0.795 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=480 -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/jenkins/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