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.001405/0.001405, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001479/0.001479, allocations: 192.9 kB / 22.17 MB, free: 5.652 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.436/1.436, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.809/2.809, 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.001988/0.001988, allocations: 71.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8933, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006575/0.8999, allocations: 4.641 MB / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.901, allocations: 0.8217 MB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.9011, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.9013, allocations: 27.78 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.9014, allocations: 35.7 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.9019, allocations: 175.3 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.9021, allocations: 171.4 kB / 1.28 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.9022, allocations: 17.11 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.9024, allocations: 79.75 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.9025, allocations: 75.67 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.9025, allocations: 20 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.9028, allocations: 151.8 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.9029, allocations: 35.89 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.9029, allocations: 63.72 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.9033, allocations: 253.8 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.9033, allocations: 0 / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9033, allocations: 0 / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.9033, allocations: 0 / 1.28 GB, free: 13.97 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.0009058/0.9042, allocations: 486.5 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.9043, allocations: 15.95 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.9043, allocations: 16.84 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.9045, allocations: 182.2 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.9045, allocations: 8.375 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.9045, allocations: 8.375 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.9049, allocations: 131.1 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.9049, allocations: 0 / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.9049, allocations: 8 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.9049, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.9053, allocations: 135.9 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.9064, allocations: 468.5 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.9067, allocations: 118.4 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.9069, allocations: 64.81 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.9083, allocations: 0.9606 MB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.9083, allocations: 34.56 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.9083, allocations: 0 / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0007044/0.9091, allocations: 217.3 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.9091, allocations: 55.41 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.9093, allocations: 161.2 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.9093, allocations: 33.7 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.9094, allocations: 116.4 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.9094, allocations: 39.64 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.9095, allocations: 53.64 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9097, allocations: 318.8 kB / 1.284 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.9099, allocations: 75.94 kB / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.9102, allocations: 113.8 kB / 1.284 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.9106, allocations: 173.9 kB / 1.284 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9106, allocations: 3.938 kB / 1.284 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005882/0.9112, allocations: 241.3 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.9112, allocations: 4 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9112, allocations: 0 / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.9112, allocations: 16.02 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.9115, allocations: 51.91 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.9115, allocations: 0 / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.9117, allocations: 31.81 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.9117, allocations: 15.98 kB / 1.285 GB, free: 9.301 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.0001139/0.9118, allocations: 121.8 kB / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.9119, allocations: 11.91 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.9124, allocations: 191.2 kB / 1.285 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.9124, allocations: 0 / 1.285 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.9124, allocations: 0 / 1.285 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9124, allocations: 8 kB / 1.285 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.9126, allocations: 213.5 kB / 1.285 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9126, allocations: 3.938 kB / 1.285 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.9128, allocations: 35.97 kB / 1.285 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.9128, allocations: 0 / 1.285 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.9128, allocations: 7.938 kB / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9128, allocations: 0 / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9128, allocations: 0 / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.9133, allocations: 255.4 kB / 1.285 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.9134, allocations: 104.9 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.9134, allocations: 11.94 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.9136, allocations: 11.98 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.9136, allocations: 11.98 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.9136, allocations: 0 / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.337e-05/0.9137, allocations: 116.9 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9137, allocations: 0 / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003312/0.914, allocations: 63.88 kB / 1.286 GB, free: 8.055 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.0003111/0.9143, allocations: 162.9 kB / 1.286 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005308/0.9149, allocations: 163.8 kB / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9149, allocations: 0 / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.9151, allocations: 63.89 kB / 1.286 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.9154, allocations: 28.16 kB / 1.286 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.916, allocations: 272.8 kB / 1.286 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.9164, allocations: 0.7044 MB / 1.287 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.349e-05/0.9165, allocations: 17.08 kB / 1.287 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.9165, allocations: 23.38 kB / 1.287 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.9165, allocations: 0 / 1.287 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of Templates: time 0.006716/0.9232, allocations: 2.798 MB / 1.29 GB, free: 3.805 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 cvode -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.905628075823188]