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.000965/0.000965, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009664/0.0009664, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9603/0.9603, allocations: 177.2 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.777/1.777, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] 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.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.665e-05, allocations: 3.094 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006768/0.006795, allocations: 4.738 MB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.007929, allocations: 0.8346 MB / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.007983, allocations: 3.938 kB / 0.7926 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.008142, allocations: 23.78 kB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.008212, allocations: 43.69 kB / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.008763, allocations: 174.2 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.008961, allocations: 179.3 kB / 0.793 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.777e-05/0.009039, allocations: 13.3 kB / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.009254, allocations: 116.4 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.009353, allocations: 64.92 kB / 0.7932 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.009382, allocations: 12 kB / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.009672, allocations: 140.9 kB / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.009707, allocations: 27.91 kB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.009769, allocations: 51.89 kB / 0.7934 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.0101, allocations: 224.6 kB / 0.7936 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.0101, allocations: 0 / 0.7936 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01011, allocations: 0 / 0.7936 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.01011, allocations: 0 / 0.7936 GB, free: 5.797 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.0007002/0.01081, allocations: 497.6 kB / 0.7941 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.01085, allocations: 12.88 kB / 0.7941 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.01091, allocations: 16.84 kB / 0.7941 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.01103, allocations: 129.2 kB / 0.7942 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.01105, allocations: 8.375 kB / 0.7942 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.01107, allocations: 13.66 kB / 0.7942 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.01131, allocations: 102.8 kB / 0.7943 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01132, allocations: 192 / 0.7943 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.01134, allocations: 4.969 kB / 0.7944 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.01135, allocations: 7.938 kB / 0.7944 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.0115, allocations: 60.8 kB / 0.7944 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.01213, allocations: 426.2 kB / 0.7948 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.01224, allocations: 83.03 kB / 0.7949 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.01229, allocations: 38.73 kB / 0.7949 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/0.01293, allocations: 0.5465 MB / 0.7955 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.01295, allocations: 37.39 kB / 0.7955 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.01295, allocations: 0 / 0.7955 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002088/0.01316, allocations: 113.6 kB / 0.7956 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.01319, allocations: 52.34 kB / 0.7957 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.0133, allocations: 223.2 kB / 0.7959 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.01332, allocations: 30.83 kB / 0.7959 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.01338, allocations: 151.2 kB / 0.7961 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.01341, allocations: 43.64 kB / 0.7961 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.01347, allocations: 56.47 kB / 0.7962 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003159/0.01378, allocations: 0.4961 MB / 0.7966 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.01384, allocations: 31.92 kB / 0.7967 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.01392, allocations: 82.06 kB / 0.7967 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.01403, allocations: 105.4 kB / 0.7968 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01404, allocations: 1.688 kB / 0.7968 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001946/0.01423, allocations: 161.4 kB / 0.797 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.01424, allocations: 8 kB / 0.797 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.01425, allocations: 0.5 kB / 0.797 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.01426, allocations: 1.344 kB / 0.797 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.01439, allocations: 55.91 kB / 0.7971 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.0144, allocations: 0 / 0.7971 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.01446, allocations: 36.67 kB / 0.7971 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.01447, allocations: 8 kB / 0.7971 GB, free: 1.984 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 7.361e-05/0.01455, allocations: 165.2 kB / 0.7973 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.01457, allocations: 15.95 kB / 0.7973 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.01473, allocations: 119.1 kB / 0.7974 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01473, allocations: 4 kB / 0.7974 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01473, allocations: 0 / 0.7974 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01474, allocations: 0 / 0.7974 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.01486, allocations: 160.5 kB / 0.7975 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.01486, allocations: 0 / 0.7975 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/0.01492, allocations: 27.92 kB / 0.7976 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.01492, allocations: 0 / 0.7976 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.01493, allocations: 0 / 0.7976 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01493, allocations: 7.984 kB / 0.7976 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01493, allocations: 4 kB / 0.7976 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.01507, allocations: 255.7 kB / 0.7978 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.0151, allocations: 16.06 kB / 0.7978 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.01512, allocations: 7.984 kB / 0.7979 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.841e-05/0.01516, allocations: 12 kB / 0.7979 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.0152, allocations: 7.984 kB / 0.7979 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.01521, allocations: 0 / 0.7979 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.666e-05/0.01526, allocations: 159.8 kB / 0.798 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01526, allocations: 0 / 0.798 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002012/0.01546, allocations: 63.86 kB / 0.7981 GB, free: 0.9141 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.0001887/0.01565, allocations: 159 kB / 0.7982 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.01581, allocations: 99.52 kB / 0.7983 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01581, allocations: 0 / 0.7983 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.01586, allocations: 40.27 kB / 0.7984 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.01606, allocations: 34.27 kB / 0.7984 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.01655, allocations: 246.4 kB / 0.7986 GB, free: 316 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.01659, allocations: 71.78 kB / 0.7987 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.528e-05/0.01665, allocations: 19.02 kB / 0.7987 GB, free: 204 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.01669, allocations: 20.48 kB / 0.7987 GB, free: 184 kB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01669, allocations: 0 / 0.7987 GB, free: 184 kB / 0.7448 GB Notification: Performance of Templates: time 0.00425/0.02094, allocations: 2.789 MB / 0.8015 GB, free: 13.43 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2071540909819305]