Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00177/0.00177, 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.002332/0.002332, allocations: 221.6 kB / 22.99 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.863/2.863, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002108/0.002108, allocations: 65.8 kB / 1.118 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3612, allocations: 170 MB / 1.284 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007848/0.369, allocations: 4.426 MB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3703, allocations: 0.7594 MB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.3704, allocations: 0 / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.3706, allocations: 27.77 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.3707, allocations: 31.72 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.3713, allocations: 179.4 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.3716, allocations: 179.4 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.3717, allocations: 13.25 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.3719, allocations: 83.75 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.372, allocations: 71.67 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.3721, allocations: 12 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.3724, allocations: 135.8 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.3725, allocations: 31.91 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.429e-05/0.3725, allocations: 63.72 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.373, allocations: 239.1 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.373, allocations: 3.984 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.373, allocations: 0 / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.373, allocations: 0 / 1.29 GB, free: 5.637 MB / 0.9825 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.0009624/0.374, allocations: 411.2 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.374, allocations: 16.02 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.3741, allocations: 16.84 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3742, allocations: 120.7 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.3742, allocations: 8.375 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.3743, allocations: 12.38 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.3746, allocations: 129.6 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3746, allocations: 0 / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3746, allocations: 3.984 kB / 1.291 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3746, allocations: 4 kB / 1.291 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.3751, allocations: 143.9 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009931/0.3761, allocations: 388.2 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.3764, allocations: 118.4 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.3766, allocations: 68.75 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.3777, allocations: 472.3 kB / 1.292 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3778, allocations: 42.48 kB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.3778, allocations: 4 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.000691/0.3785, allocations: 201.5 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.3785, allocations: 55.34 kB / 1.292 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3787, allocations: 171.9 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3787, allocations: 29.7 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.3788, allocations: 108.4 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.3788, allocations: 43.64 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.3789, allocations: 53.64 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3791, allocations: 326.8 kB / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.3793, allocations: 71.94 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.3796, allocations: 108.5 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.38, allocations: 172.5 kB / 1.293 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.38, allocations: 0 / 1.293 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005896/0.3806, allocations: 252.6 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3806, allocations: 6.344 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3806, allocations: 0 / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3806, allocations: 8 kB / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.3809, allocations: 63.83 kB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3809, allocations: 4 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.3811, allocations: 27.83 kB / 1.293 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.3811, allocations: 8 kB / 1.293 GB, free: 1.836 MB / 0.9825 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.0001213/0.3812, allocations: 129.8 kB / 1.294 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3813, allocations: 15.94 kB / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/0.3818, allocations: 167 kB / 1.294 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3818, allocations: 7.938 kB / 1.294 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3818, allocations: 3.938 kB / 1.294 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3818, allocations: 3.984 kB / 1.294 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.382, allocations: 141.3 kB / 1.294 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.382, allocations: 11.94 kB / 1.294 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.3821, allocations: 35.91 kB / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3821, allocations: 0 / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3822, allocations: 0 / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3822, allocations: 4 kB / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3822, allocations: 3.938 kB / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.3826, allocations: 247.4 kB / 1.294 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.3827, allocations: 31.83 kB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.3827, allocations: 4 kB / 1.294 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3828, allocations: 15.97 kB / 1.294 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.3829, allocations: 19.86 kB / 1.294 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.3829, allocations: 3.938 kB / 1.294 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.659e-05/0.383, allocations: 116 kB / 1.294 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.383, allocations: 0 / 1.294 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003447/0.3834, allocations: 59.88 kB / 1.294 GB, free: 0.7656 MB / 0.9825 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.0003104/0.3837, allocations: 151.8 kB / 1.295 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005015/0.3842, allocations: 168 kB / 1.295 GB, free: 456 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3842, allocations: 4 kB / 1.295 GB, free: 452 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.3844, allocations: 59.89 kB / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3847, allocations: 28.84 kB / 1.295 GB, free: 364 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.3853, allocations: 287 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.3854, allocations: 93.55 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.3855, allocations: 23.36 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3855, allocations: 0 / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.005263/0.3908, allocations: 2.606 MB / 1.298 GB, free: 13.32 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.623756921850145]