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.001604/0.001604, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002036/0.002036, allocations: 221.6 kB / 23 MB, free: 4.914 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.264/3.264, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002409/0.002409, allocations: 68.8 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3891, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00778/0.3969, allocations: 4.422 MB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3982, allocations: 0.7633 MB / 1.37 GB, free: 8.359 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3983, allocations: 0 / 1.37 GB, free: 8.359 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.3985, allocations: 27.78 kB / 1.37 GB, free: 8.332 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3986, allocations: 35.7 kB / 1.37 GB, free: 8.297 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.3993, allocations: 175.3 kB / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.3996, allocations: 171.4 kB / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3997, allocations: 17.28 kB / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.4, allocations: 83.75 kB / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.4001, allocations: 75.66 kB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.4002, allocations: 12 kB / 1.37 GB, free: 7.773 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.4006, allocations: 135.8 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.4006, allocations: 35.91 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.569e-05/0.4007, allocations: 59.77 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004985/0.4012, allocations: 239.1 kB / 1.371 GB, free: 7.312 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4012, allocations: 0 / 1.371 GB, free: 7.312 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4012, allocations: 0 / 1.371 GB, free: 7.312 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.4012, allocations: 0 / 1.371 GB, free: 7.312 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.001023/0.4022, allocations: 405.5 kB / 1.371 GB, free: 6.887 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4023, allocations: 15.97 kB / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.4023, allocations: 8.891 kB / 1.371 GB, free: 6.863 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.4025, allocations: 140.5 kB / 1.371 GB, free: 6.703 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.4025, allocations: 12.12 kB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.4026, allocations: 12 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.4029, allocations: 117.5 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4029, allocations: 0 / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.403, allocations: 4 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.403, allocations: 4 kB / 1.371 GB, free: 6.551 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.4034, allocations: 143.9 kB / 1.372 GB, free: 6.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.4044, allocations: 380.2 kB / 1.372 GB, free: 6.008 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.4048, allocations: 122.4 kB / 1.372 GB, free: 5.879 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.405, allocations: 64.81 kB / 1.372 GB, free: 5.812 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.4062, allocations: 472 kB / 1.373 GB, free: 5.332 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.4062, allocations: 38.56 kB / 1.373 GB, free: 5.285 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.4062, allocations: 0 / 1.373 GB, free: 5.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0007294/0.407, allocations: 217.3 kB / 1.373 GB, free: 5.066 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.407, allocations: 55.41 kB / 1.373 GB, free: 5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.4072, allocations: 163.2 kB / 1.373 GB, free: 4.828 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.4072, allocations: 37.69 kB / 1.373 GB, free: 4.785 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.4073, allocations: 108.4 kB / 1.373 GB, free: 4.676 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.4074, allocations: 43.62 kB / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4075, allocations: 49.69 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4077, allocations: 322.8 kB / 1.374 GB, free: 4.254 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.4079, allocations: 71.95 kB / 1.374 GB, free: 4.184 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.4082, allocations: 118.6 kB / 1.374 GB, free: 4.059 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.4086, allocations: 172 kB / 1.374 GB, free: 3.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4086, allocations: 0 / 1.374 GB, free: 3.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006149/0.4092, allocations: 250.9 kB / 1.374 GB, free: 3.629 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.4093, allocations: 7.938 kB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.4093, allocations: 11.92 kB / 1.374 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4093, allocations: 0 / 1.374 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.4095, allocations: 55.91 kB / 1.374 GB, free: 3.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.4096, allocations: 7.984 kB / 1.374 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.4097, allocations: 23.88 kB / 1.374 GB, free: 3.523 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.4098, allocations: 12 kB / 1.374 GB, free: 3.512 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.0001442/0.4099, allocations: 133.8 kB / 1.374 GB, free: 3.371 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.4099, allocations: 15.84 kB / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005119/0.4105, allocations: 174.9 kB / 1.375 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4105, allocations: 4 kB / 1.375 GB, free: 3.172 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4105, allocations: 0 / 1.375 GB, free: 3.172 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4105, allocations: 0 / 1.375 GB, free: 3.172 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.4107, allocations: 153.2 kB / 1.375 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.4107, allocations: 0 / 1.375 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.4108, allocations: 27.98 kB / 1.375 GB, free: 2.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4109, allocations: 0 / 1.375 GB, free: 2.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.4109, allocations: 11.92 kB / 1.375 GB, free: 2.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4109, allocations: 0 / 1.375 GB, free: 2.953 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4109, allocations: 3.938 kB / 1.375 GB, free: 2.949 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.4114, allocations: 259.8 kB / 1.375 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.4115, allocations: 23.83 kB / 1.375 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.4115, allocations: 7.938 kB / 1.375 GB, free: 2.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.4116, allocations: 11.98 kB / 1.375 GB, free: 2.637 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.4117, allocations: 15.97 kB / 1.375 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4117, allocations: 4 kB / 1.375 GB, free: 2.617 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001026/0.4118, allocations: 112 kB / 1.375 GB, free: 2.508 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4118, allocations: 0 / 1.375 GB, free: 2.508 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003703/0.4122, allocations: 59.88 kB / 1.375 GB, free: 2.449 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.0003487/0.4125, allocations: 159 kB / 1.375 GB, free: 2.285 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005422/0.4131, allocations: 167.8 kB / 1.376 GB, free: 2.121 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4131, allocations: 0 / 1.376 GB, free: 2.121 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.4133, allocations: 55.95 kB / 1.376 GB, free: 2.066 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.4137, allocations: 25.55 kB / 1.376 GB, free: 2.043 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.4143, allocations: 287.5 kB / 1.376 GB, free: 1.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.799e-05/0.4144, allocations: 89.62 kB / 1.376 GB, free: 1.625 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.4145, allocations: 19.44 kB / 1.376 GB, free: 1.605 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.4145, allocations: 3.938 kB / 1.376 GB, free: 1.602 MB / 1.061 GB Notification: Performance of Templates: time 0.005926/0.4204, allocations: 2.616 MB / 1.379 GB, free: 15 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/jenkins1/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: 11.701958876103163]