Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 211.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.414/3.414, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 66.47 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3653, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006996/0.3723, allocations: 4.433 MB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3735, allocations: 0.7517 MB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.3736, allocations: 4 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.3738, allocations: 27.77 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.3738, allocations: 35.72 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.3744, allocations: 171.4 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3746, allocations: 187.3 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.3747, allocations: 13.3 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.3749, allocations: 83.75 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.375, allocations: 67.73 kB / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.3751, allocations: 16 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.3754, allocations: 139.8 kB / 1.37 GB, free: 7.613 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.3754, allocations: 39.83 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.3755, allocations: 51.8 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.3759, allocations: 243 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3759, allocations: 0 / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3759, allocations: 0 / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3759, allocations: 0 / 1.37 GB, free: 7.285 MB / 1.061 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.0009413/0.3769, allocations: 411.2 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3769, allocations: 8.031 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.377, allocations: 16.88 kB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.3771, allocations: 126.4 kB / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3771, allocations: 12.12 kB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.3772, allocations: 12 kB / 1.371 GB, free: 6.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.3775, allocations: 129.5 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3775, allocations: 0 / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3775, allocations: 7.938 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3775, allocations: 0 / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.378, allocations: 139.9 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009717/0.3789, allocations: 380.2 kB / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.3792, allocations: 122.5 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.3794, allocations: 72.8 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.3806, allocations: 468.1 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3806, allocations: 30.56 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.3806, allocations: 0 / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0006956/0.3813, allocations: 217.7 kB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3814, allocations: 59.34 kB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.3815, allocations: 163.2 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3816, allocations: 33.7 kB / 1.372 GB, free: 4.762 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.3816, allocations: 112.4 kB / 1.372 GB, free: 4.648 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.3817, allocations: 39.64 kB / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.3818, allocations: 49.7 kB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3819, allocations: 326.8 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.3821, allocations: 75.94 kB / 1.373 GB, free: 4.152 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.3824, allocations: 114.6 kB / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.3829, allocations: 176.6 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3829, allocations: 4 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005826/0.3834, allocations: 235.5 kB / 1.373 GB, free: 3.609 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3835, allocations: 11.94 kB / 1.373 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3835, allocations: 0 / 1.373 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3835, allocations: 7.984 kB / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.3838, allocations: 60 kB / 1.373 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3838, allocations: 3.938 kB / 1.373 GB, free: 3.527 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.3839, allocations: 27.88 kB / 1.373 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.3839, allocations: 11.98 kB / 1.373 GB, free: 3.488 MB / 1.061 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.0001095/0.3841, allocations: 125.7 kB / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.3841, allocations: 15.84 kB / 1.374 GB, free: 3.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.3846, allocations: 183 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3846, allocations: 0 / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3846, allocations: 3.938 kB / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3846, allocations: 4 kB / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.3848, allocations: 153.2 kB / 1.374 GB, free: 2.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3848, allocations: 0 / 1.374 GB, free: 2.965 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.385, allocations: 31.97 kB / 1.374 GB, free: 2.934 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.385, allocations: 0 / 1.374 GB, free: 2.934 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.385, allocations: 3.938 kB / 1.374 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.385, allocations: 4 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.385, allocations: 0 / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.3855, allocations: 255.3 kB / 1.374 GB, free: 2.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.3855, allocations: 31.77 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3855, allocations: 7.938 kB / 1.374 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3857, allocations: 7.984 kB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.3857, allocations: 11.98 kB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.3857, allocations: 8 kB / 1.374 GB, free: 2.594 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.329e-05/0.3858, allocations: 116 kB / 1.374 GB, free: 2.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3858, allocations: 0 / 1.374 GB, free: 2.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003571/0.3862, allocations: 59.86 kB / 1.374 GB, free: 2.422 MB / 1.061 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.0002855/0.3865, allocations: 159.1 kB / 1.375 GB, free: 2.258 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005138/0.387, allocations: 159.8 kB / 1.375 GB, free: 2.102 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.387, allocations: 0 / 1.375 GB, free: 2.102 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.3872, allocations: 64.08 kB / 1.375 GB, free: 2.039 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3875, allocations: 31.91 kB / 1.375 GB, free: 2.008 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.388, allocations: 253.6 kB / 1.375 GB, free: 1.734 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.583e-05/0.3881, allocations: 93.61 kB / 1.375 GB, free: 1.625 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.152e-05/0.3882, allocations: 17.47 kB / 1.375 GB, free: 1.609 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.3883, allocations: 23.42 kB / 1.375 GB, free: 1.586 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.3883, allocations: 4 kB / 1.375 GB, free: 1.582 MB / 1.061 GB Notification: Performance of Templates: time 0.00705/0.3953, allocations: 2.95 MB / 1.378 GB, free: 14.68 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.277328288182616]