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.001867/0.001867, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.764/2.764, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.91 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5821, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007341/0.5895, allocations: 4.575 MB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.5908, allocations: 0.8147 MB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.5909, allocations: 3.938 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.591, allocations: 27.83 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.27e-05/0.5911, allocations: 35.64 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.5917, allocations: 175.4 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000243/0.592, allocations: 175.4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.5921, allocations: 13.12 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.5923, allocations: 79.75 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.5925, allocations: 83.66 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.5925, allocations: 16 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.5929, allocations: 155.8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.5929, allocations: 31.89 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.277e-05/0.593, allocations: 67.66 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.5935, allocations: 233.4 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5935, allocations: 0 / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5935, allocations: 0 / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.5935, allocations: 0 / 1.024 GB, free: 11.97 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.0009941/0.5945, allocations: 484.6 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.5945, allocations: 12.03 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.5946, allocations: 12.75 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.5948, allocations: 197.7 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.5948, allocations: 8.375 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.5949, allocations: 12.38 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.5952, allocations: 125.7 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5952, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5953, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5953, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.5957, allocations: 139.9 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.5968, allocations: 468.3 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.5971, allocations: 130.5 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.5973, allocations: 68.81 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/0.5989, allocations: 0.9529 MB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.599, allocations: 42.56 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.599, allocations: 0 / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0007472/0.5997, allocations: 221.1 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.5998, allocations: 51.41 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.6, allocations: 166.4 kB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.6, allocations: 29.69 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.6001, allocations: 104.3 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.6001, allocations: 47.36 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.519e-05/0.6002, allocations: 49.69 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6004, allocations: 322.8 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.6006, allocations: 75.89 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.6009, allocations: 115.1 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.6014, allocations: 176.7 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6014, allocations: 0 / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006254/0.602, allocations: 241.8 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.6021, allocations: 8 kB / 1.028 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.6021, allocations: 8.078 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6021, allocations: 3.938 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.6024, allocations: 51.97 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.6024, allocations: 11.91 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.6026, allocations: 31.73 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.6026, allocations: 8 kB / 1.028 GB, free: 7.285 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 0.0001183/0.6027, allocations: 121.8 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.6028, allocations: 15.91 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.6033, allocations: 190.6 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6033, allocations: 0 / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6034, allocations: 0 / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6034, allocations: 0 / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.6036, allocations: 213.5 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6036, allocations: 4 kB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.6038, allocations: 31.97 kB / 1.028 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6038, allocations: 0 / 1.028 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.6038, allocations: 7.938 kB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6039, allocations: 4 kB / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6039, allocations: 0 / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.6044, allocations: 259.2 kB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.6045, allocations: 96.94 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.6045, allocations: 7.938 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.6046, allocations: 11.98 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.6047, allocations: 11.98 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.6047, allocations: 4 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.9e-05/0.6048, allocations: 113.4 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6048, allocations: 4 kB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003475/0.6052, allocations: 64.36 kB / 1.029 GB, free: 6.051 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.0002976/0.6055, allocations: 162.7 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005642/0.606, allocations: 181.6 kB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6061, allocations: 0 / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.6063, allocations: 63.89 kB / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.6066, allocations: 24.17 kB / 1.029 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.6072, allocations: 259.2 kB / 1.03 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.6076, allocations: 0.7006 MB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.6077, allocations: 32.89 kB / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.6077, allocations: 19.42 kB / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6077, allocations: 0 / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.006633/0.6144, allocations: 2.721 MB / 1.033 GB, free: 1.875 MB / 0.7794 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/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