Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001642/0.001642, allocations: 118.8 kB / 17.13 MB, free: 6.047 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.00177/0.00177, allocations: 208.5 kB / 20.09 MB, free: 3.098 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.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.882/2.882, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00206/0.00206, allocations: 71.89 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.04, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004975/1.044, allocations: 4.683 MB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008026/1.045, allocations: 0.8198 MB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/1.045, allocations: 0 / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/1.046, allocations: 36.42 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-05/1.046, allocations: 29.3 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/1.046, allocations: 181.3 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/1.046, allocations: 172.7 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/1.046, allocations: 13.53 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/1.046, allocations: 91.64 kB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/1.047, allocations: 73.14 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/1.047, allocations: 13.69 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003363/1.047, allocations: 156.6 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/1.047, allocations: 38.53 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/1.047, allocations: 70.47 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/1.047, allocations: 235.7 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.047, allocations: 0 / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/1.047, allocations: 0 / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.047, allocations: 0.875 kB / 1.328 GB, free: 20.63 MB / 1.061 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.0008155/1.048, allocations: 484.5 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.048, allocations: 13.3 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/1.048, allocations: 15.69 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/1.048, allocations: 194.1 kB / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.048, allocations: 8.469 kB / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/1.048, allocations: 11.66 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/1.049, allocations: 122.8 kB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/1.049, allocations: 5.188 kB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.049, allocations: 0 / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.049, allocations: 2.062 kB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/1.049, allocations: 145.9 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000911/1.05, allocations: 465.6 kB / 1.33 GB, free: 19.51 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/1.05, allocations: 112.9 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/1.051, allocations: 68.72 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/1.052, allocations: 0.9604 MB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/1.052, allocations: 31.34 kB / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/1.052, allocations: 1.031 kB / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.000753/1.053, allocations: 216.4 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/1.053, allocations: 58.11 kB / 1.331 GB, free: 18.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/1.053, allocations: 156.4 kB / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/1.053, allocations: 30.45 kB / 1.331 GB, free: 18.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/1.053, allocations: 120.7 kB / 1.332 GB, free: 18.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/1.053, allocations: 40.45 kB / 1.332 GB, free: 18.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-05/1.053, allocations: 48.69 kB / 1.332 GB, free: 18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.159e-05/1.053, allocations: 326.2 kB / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/1.053, allocations: 70.86 kB / 1.332 GB, free: 17.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/1.054, allocations: 119.8 kB / 1.332 GB, free: 17.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/1.054, allocations: 171.6 kB / 1.332 GB, free: 17.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.054, allocations: 4 kB / 1.332 GB, free: 17.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005777/1.055, allocations: 237.5 kB / 1.332 GB, free: 17.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.055, allocations: 8.359 kB / 1.332 GB, free: 17.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.055, allocations: 1.156 kB / 1.332 GB, free: 17.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/1.055, allocations: 5.75 kB / 1.333 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/1.055, allocations: 63.34 kB / 1.333 GB, free: 17.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/1.055, allocations: 2.766 kB / 1.333 GB, free: 17.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/1.055, allocations: 35.92 kB / 1.333 GB, free: 17.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/1.055, allocations: 6.5 kB / 1.333 GB, free: 17.38 MB / 1.061 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.285e-05/1.055, allocations: 124.3 kB / 1.333 GB, free: 17.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/1.055, allocations: 13.55 kB / 1.333 GB, free: 17.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/1.056, allocations: 181.6 kB / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.056, allocations: 1.25 kB / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.056, allocations: 4 kB / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.056, allocations: 0.5625 kB / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/1.056, allocations: 214.5 kB / 1.333 GB, free: 16.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.056, allocations: 1.938 kB / 1.333 GB, free: 16.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/1.056, allocations: 33.31 kB / 1.333 GB, free: 16.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/1.056, allocations: 0 / 1.333 GB, free: 16.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/1.056, allocations: 9.094 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.056, allocations: 1.438 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.056, allocations: 0.8906 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/1.057, allocations: 264.1 kB / 1.333 GB, free: 16.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/1.057, allocations: 99.89 kB / 1.334 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/1.057, allocations: 9.125 kB / 1.334 GB, free: 16.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.057, allocations: 15.59 kB / 1.334 GB, free: 16.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/1.057, allocations: 7.484 kB / 1.334 GB, free: 16.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/1.057, allocations: 3.375 kB / 1.334 GB, free: 16.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.883e-05/1.057, allocations: 122 kB / 1.334 GB, free: 16.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.057, allocations: 0 / 1.334 GB, free: 16.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003646/1.057, allocations: 66.16 kB / 1.334 GB, free: 16.53 MB / 1.061 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.0003002/1.058, allocations: 161.5 kB / 1.334 GB, free: 16.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005366/1.058, allocations: 166.9 kB / 1.334 GB, free: 16.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.058, allocations: 0 / 1.334 GB, free: 16.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/1.058, allocations: 65.31 kB / 1.334 GB, free: 16.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/1.059, allocations: 15.12 kB / 1.334 GB, free: 16.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/1.059, allocations: 288.2 kB / 1.334 GB, free: 16.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/1.059, allocations: 0.7027 MB / 1.335 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/1.059, allocations: 17.89 kB / 1.335 GB, free: 15.43 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.059, allocations: 0 / 1.335 GB, free: 15.43 MB / 1.061 GB Notification: Performance of Templates: time 0.00593/1.065, allocations: 2.57 MB / 1.338 GB, free: 15.11 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.771562933005043]