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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 107.7 kB / 18.88 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002352/0.002352, allocations: 202.4 kB / 22.17 MB, free: 5.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001997/0.001997, allocations: 72.12 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6838, allocations: 168.7 MB / 1.274 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006529/0.6903, allocations: 4.644 MB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.6915, allocations: 0.8255 MB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.6916, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.6917, allocations: 35.77 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.6918, allocations: 35.64 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.6923, allocations: 171.4 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.6925, allocations: 175.4 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.6926, allocations: 9.109 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.6928, allocations: 79.75 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.6929, allocations: 87.66 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.6929, allocations: 16 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.6932, allocations: 151.8 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.6933, allocations: 35.89 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.623e-05/0.6933, allocations: 67.66 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.6937, allocations: 241.9 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6937, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6937, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.6937, allocations: 0 / 1.28 GB, free: 13.91 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.000934/0.6947, allocations: 486.5 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.6947, allocations: 8.031 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.6947, allocations: 20.84 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.6949, allocations: 193.3 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.6949, allocations: 8.375 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.6949, allocations: 12.38 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.6953, allocations: 127.7 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.6953, allocations: 4 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6953, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6953, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.6958, allocations: 139.9 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.6968, allocations: 468.5 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.6971, allocations: 114.5 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.6973, allocations: 64.81 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/0.6988, allocations: 0.9566 MB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.6988, allocations: 38.5 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.6988, allocations: 3.938 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0007347/0.6996, allocations: 209.4 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.6996, allocations: 55.41 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.6998, allocations: 165.2 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.6998, allocations: 29.7 kB / 1.283 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.6999, allocations: 120.4 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.6999, allocations: 39.64 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.7, allocations: 53.69 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7002, allocations: 322.8 kB / 1.284 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.7004, allocations: 67.95 kB / 1.284 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.7007, allocations: 118 kB / 1.284 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.7011, allocations: 177.7 kB / 1.284 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7011, allocations: 0 / 1.284 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006105/0.7017, allocations: 245.2 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.7018, allocations: 4 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7018, allocations: 4.094 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.7018, allocations: 7.938 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.7021, allocations: 55.91 kB / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7021, allocations: 0 / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.7022, allocations: 35.8 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.7023, allocations: 8 kB / 1.285 GB, free: 9.238 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.0001056/0.7024, allocations: 117.8 kB / 1.285 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.7024, allocations: 15.91 kB / 1.285 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.7029, allocations: 186.8 kB / 1.285 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.7029, allocations: 0 / 1.285 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7029, allocations: 3.938 kB / 1.285 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7029, allocations: 4 kB / 1.285 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.7032, allocations: 217.5 kB / 1.285 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.7032, allocations: 0 / 1.285 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.7034, allocations: 31.97 kB / 1.285 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.7034, allocations: 3.984 kB / 1.285 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.7034, allocations: 7.938 kB / 1.285 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.7034, allocations: 7.938 kB / 1.285 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7034, allocations: 0 / 1.285 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.7039, allocations: 259.9 kB / 1.285 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-05/0.704, allocations: 104.9 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.704, allocations: 3.938 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.7042, allocations: 15.98 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.7042, allocations: 7.984 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.7042, allocations: 3.938 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.567e-05/0.7043, allocations: 120.9 kB / 1.286 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7043, allocations: 0 / 1.286 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003536/0.7047, allocations: 71.86 kB / 1.286 GB, free: 7.977 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.0003004/0.705, allocations: 153 kB / 1.286 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.7055, allocations: 162.5 kB / 1.286 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7055, allocations: 0 / 1.286 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.7057, allocations: 67.89 kB / 1.286 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.7061, allocations: 24.17 kB / 1.286 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.7066, allocations: 268.8 kB / 1.286 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.7069, allocations: 0.7006 MB / 1.287 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.889e-05/0.707, allocations: 21.02 kB / 1.287 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.7071, allocations: 19.42 kB / 1.287 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.7071, allocations: 0 / 1.287 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.006657/0.7137, allocations: 2.792 MB / 1.29 GB, free: 3.75 MB / 0.9825 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 -s gbode -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_2/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.383403069805354]