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.002232/0.002232, allocations: 79.75 kB / 20.23 MB, free: 4.168 MB / 18.57 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.002583/0.002583, allocations: 153.4 kB / 23.55 MB, free: 0.8555 MB / 18.57 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.602/1.602, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.999/2.999, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.396e-05, allocations: 7.016 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007693/0.007727, allocations: 4.699 MB / 0.791 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.009106, allocations: 0.83 MB / 0.7918 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.009202, allocations: 0 / 0.7918 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.009439, allocations: 28.88 kB / 0.7918 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.009522, allocations: 41.02 kB / 0.7919 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.01025, allocations: 177.1 kB / 0.7921 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.01057, allocations: 183.3 kB / 0.7922 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.01068, allocations: 6.844 kB / 0.7922 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.01096, allocations: 111.7 kB / 0.7923 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.01111, allocations: 71.83 kB / 0.7924 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.01115, allocations: 12 kB / 0.7924 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.01154, allocations: 138.1 kB / 0.7926 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.01159, allocations: 31.89 kB / 0.7926 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.01168, allocations: 51.89 kB / 0.7926 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.01219, allocations: 259.2 kB / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.0122, allocations: 0 / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/0.0122, allocations: 2.562 kB / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.01221, allocations: 0 / 0.7929 GB, free: 6.168 MB / 0.7448 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.00113/0.01334, allocations: 0.4916 MB / 0.7934 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.01338, allocations: 8.562 kB / 0.7934 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.336e-05/0.01347, allocations: 24.84 kB / 0.7934 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.01364, allocations: 117.2 kB / 0.7935 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.01366, allocations: 12.38 kB / 0.7935 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.01369, allocations: 16.83 kB / 0.7935 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.014, allocations: 99.83 kB / 0.7936 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.01401, allocations: 192 / 0.7936 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.01404, allocations: 8.125 kB / 0.7936 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.01404, allocations: 4 kB / 0.7936 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.01439, allocations: 109 kB / 0.7937 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.01555, allocations: 438.2 kB / 0.7942 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.01589, allocations: 119.8 kB / 0.7943 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.01605, allocations: 67.12 kB / 0.7943 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.0175, allocations: 0.5584 MB / 0.7949 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.01755, allocations: 34.52 kB / 0.7949 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.01755, allocations: 0 / 0.7949 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0006311/0.01818, allocations: 182.6 kB / 0.7951 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.01823, allocations: 55.34 kB / 0.7951 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.0185, allocations: 247.8 kB / 0.7954 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.01854, allocations: 30.2 kB / 0.7954 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.01869, allocations: 155.2 kB / 0.7956 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.01874, allocations: 44.42 kB / 0.7956 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.01886, allocations: 59.34 kB / 0.7957 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003265/0.01919, allocations: 0.5072 MB / 0.7962 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.01938, allocations: 63.91 kB / 0.7962 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.01962, allocations: 112.7 kB / 0.7963 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.01999, allocations: 164.3 kB / 0.7965 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01999, allocations: 0 / 0.7965 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005115/0.0205, allocations: 234.3 kB / 0.7967 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.02052, allocations: 4 kB / 0.7967 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.02053, allocations: 4 kB / 0.7967 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.02055, allocations: 1.062 kB / 0.7967 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.02081, allocations: 47.97 kB / 0.7968 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.02083, allocations: 5.031 kB / 0.7968 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.02096, allocations: 27.78 kB / 0.7968 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.02099, allocations: 8 kB / 0.7968 GB, free: 1.941 MB / 0.7448 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.0001711/0.02117, allocations: 173.9 kB / 0.797 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.02121, allocations: 11.95 kB / 0.797 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.0218, allocations: 166.9 kB / 0.7971 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.0218, allocations: 0 / 0.7971 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.02181, allocations: 0 / 0.7971 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02181, allocations: 0 / 0.7971 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.02208, allocations: 172.5 kB / 0.7973 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.02208, allocations: 0 / 0.7973 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.02221, allocations: 23.98 kB / 0.7973 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.02221, allocations: 0 / 0.7973 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.02223, allocations: 11.98 kB / 0.7973 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.02224, allocations: 4 kB / 0.7973 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02224, allocations: 4 kB / 0.7973 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.02269, allocations: 296.2 kB / 0.7976 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.02274, allocations: 23.88 kB / 0.7976 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.02276, allocations: 0 / 0.7976 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.02288, allocations: 11.98 kB / 0.7977 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.02293, allocations: 7.984 kB / 0.7977 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.02294, allocations: 4 kB / 0.7977 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001331/0.02307, allocations: 159.9 kB / 0.7978 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02307, allocations: 0 / 0.7978 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003484/0.02342, allocations: 67.86 kB / 0.7979 GB, free: 0.7617 MB / 0.7448 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.0003594/0.02378, allocations: 167 kB / 0.798 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.02422, allocations: 163.5 kB / 0.7982 GB, free: 436 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02422, allocations: 0 / 0.7982 GB, free: 436 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.02438, allocations: 67.7 kB / 0.7983 GB, free: 364 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.0247, allocations: 19.97 kB / 0.7983 GB, free: 344 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.02525, allocations: 255.2 kB / 0.7985 GB, free: 60 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.02537, allocations: 93.81 kB / 0.7986 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.924e-05/0.02546, allocations: 17.14 kB / 0.7986 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.02552, allocations: 20.5 kB / 0.7986 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of SimCode: time 5.52e-07/0.02552, allocations: 4 kB / 0.7987 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.008554/0.03407, allocations: 2.88 MB / 0.8015 GB, free: 13.07 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.507968373014592]