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.001452/0.001452, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001674/0.001674, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.688/2.688, allocations: 476.8 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] 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.002029/0.002029, allocations: 66.47 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3636, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006572/0.3702, allocations: 4.708 MB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3713, allocations: 0.8255 MB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.3714, allocations: 0 / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.3716, allocations: 31.77 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.3716, allocations: 31.7 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.3722, allocations: 175.4 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000217/0.3724, allocations: 175.4 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.3725, allocations: 21.23 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.3726, allocations: 87.69 kB / 1.291 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3728, allocations: 79.72 kB / 1.291 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.3728, allocations: 16 kB / 1.291 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.3731, allocations: 155.8 kB / 1.291 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.3732, allocations: 39.83 kB / 1.291 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.914e-05/0.3732, allocations: 63.72 kB / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.3736, allocations: 239.2 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3736, allocations: 3.938 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3736, allocations: 0 / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3736, allocations: 0 / 1.291 GB, free: 4.602 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.0008722/0.3745, allocations: 407.2 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3745, allocations: 12.03 kB / 1.292 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.3745, allocations: 12.84 kB / 1.292 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3747, allocations: 126.4 kB / 1.292 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3747, allocations: 8.375 kB / 1.292 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.3747, allocations: 24.3 kB / 1.292 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.3751, allocations: 129.6 kB / 1.292 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3751, allocations: 3.938 kB / 1.292 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3751, allocations: 0 / 1.292 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3751, allocations: 4 kB / 1.292 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.3755, allocations: 139.9 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009654/0.3764, allocations: 439.5 kB / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.3767, allocations: 118.5 kB / 1.292 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.3769, allocations: 68.75 kB / 1.293 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.378, allocations: 488 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3781, allocations: 34.56 kB / 1.293 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.3781, allocations: 7.938 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0006675/0.3787, allocations: 217.3 kB / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3788, allocations: 51.41 kB / 1.293 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3789, allocations: 164 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.379, allocations: 29.7 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.379, allocations: 116.3 kB / 1.294 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.3791, allocations: 39.66 kB / 1.294 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.3792, allocations: 57.62 kB / 1.294 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3793, allocations: 318.8 kB / 1.294 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.3795, allocations: 75.95 kB / 1.294 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.3798, allocations: 108 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.3802, allocations: 174.1 kB / 1.294 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3802, allocations: 0 / 1.294 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005563/0.3807, allocations: 245.3 kB / 1.295 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3807, allocations: 4 kB / 1.295 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3808, allocations: 0 / 1.295 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3808, allocations: 7.938 kB / 1.295 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.381, allocations: 59.98 kB / 1.295 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.381, allocations: 4 kB / 1.295 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.3812, allocations: 27.83 kB / 1.295 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3812, allocations: 12 kB / 1.295 GB, free: 0.7188 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.0001159/0.3813, allocations: 129.7 kB / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.3814, allocations: 11.95 kB / 1.295 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.3819, allocations: 178.9 kB / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3819, allocations: 4 kB / 1.295 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3819, allocations: 0 / 1.295 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3819, allocations: 0 / 1.295 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.3821, allocations: 184.7 kB / 1.295 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3821, allocations: 0 / 1.295 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.3823, allocations: 31.92 kB / 1.295 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3823, allocations: 4 kB / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3823, allocations: 7.938 kB / 1.295 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3823, allocations: 7.922 kB / 1.295 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3823, allocations: 0 / 1.295 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.3827, allocations: 259.9 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.3828, allocations: 27.88 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.3828, allocations: 7.938 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.383, allocations: 11.98 kB / 1.296 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.383, allocations: 15.97 kB / 1.296 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.383, allocations: 3.938 kB / 1.296 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.898e-05/0.3831, allocations: 116 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3831, allocations: 0 / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003254/0.3834, allocations: 63.83 kB / 1.296 GB, free: 15.59 MB / 0.9981 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.0002888/0.3837, allocations: 156.9 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005509/0.3843, allocations: 171.6 kB / 1.296 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3843, allocations: 0 / 1.296 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3844, allocations: 59.89 kB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3848, allocations: 27.97 kB / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.3854, allocations: 283.6 kB / 1.296 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.3857, allocations: 0.7082 MB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.3858, allocations: 23.44 kB / 1.297 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.3858, allocations: 0 / 1.297 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of Templates: time 0.004932/0.3907, allocations: 2.564 MB / 1.3 GB, free: 11.57 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.305968456988921]