Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001704/0.001704, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001841/0.001841, allocations: 158.4 kB / 22.45 MB, free: 5.375 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.515/1.515, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.961/2.961, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.042e-05, allocations: 2.281 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007356/0.007387, allocations: 4.423 MB / 1.004 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.008638, allocations: 0.7554 MB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.008734, allocations: 0 / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.008946, allocations: 35.7 kB / 1.005 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.009032, allocations: 35.66 kB / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.009718, allocations: 179.2 kB / 1.005 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.009976, allocations: 179.3 kB / 1.006 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.01007, allocations: 9.312 kB / 1.006 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.01035, allocations: 119.7 kB / 1.006 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.01048, allocations: 59.84 kB / 1.006 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.01051, allocations: 12 kB / 1.006 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.0109, allocations: 143.7 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.01095, allocations: 31.89 kB / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.01102, allocations: 47.89 kB / 1.006 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.01152, allocations: 259.2 kB / 1.006 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01152, allocations: 0 / 1.006 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01152, allocations: 0 / 1.006 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.01153, allocations: 0 / 1.006 GB, free: 0.9531 MB / 0.9512 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.001002/0.01253, allocations: 413.4 kB / 1.007 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.01257, allocations: 8.031 kB / 1.007 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.01264, allocations: 16.84 kB / 1.007 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.01281, allocations: 129.6 kB / 1.007 GB, free: 352 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.01283, allocations: 8.375 kB / 1.007 GB, free: 344 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.01286, allocations: 8.375 kB / 1.007 GB, free: 336 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.01324, allocations: 127.5 kB / 1.007 GB, free: 204 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.01325, allocations: 0 / 1.007 GB, free: 204 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.01327, allocations: 8 kB / 1.007 GB, free: 196 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.01328, allocations: 0 / 1.007 GB, free: 196 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.01373, allocations: 143.8 kB / 1.007 GB, free: 52 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.01479, allocations: 380.2 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.01512, allocations: 122.5 kB / 1.008 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.01535, allocations: 68.81 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/0.01663, allocations: 479.9 kB / 1.008 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.01667, allocations: 30.56 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.01667, allocations: 0 / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0007582/0.01743, allocations: 213.4 kB / 1.008 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.01748, allocations: 55.41 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.01766, allocations: 163.2 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.01769, allocations: 37.64 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.01778, allocations: 104.5 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.01783, allocations: 43.62 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.01792, allocations: 49.7 kB / 1.009 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.01808, allocations: 326.8 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.01832, allocations: 75.89 kB / 1.009 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.0186, allocations: 115.3 kB / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.01907, allocations: 173.9 kB / 1.009 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.01908, allocations: 8 kB / 1.009 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006397/0.01972, allocations: 237.3 kB / 1.01 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.01974, allocations: 4 kB / 1.01 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01974, allocations: 4 kB / 1.01 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.01976, allocations: 3.938 kB / 1.01 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.02005, allocations: 60 kB / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.02006, allocations: 4 kB / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.02023, allocations: 39.75 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.02026, allocations: 4 kB / 1.01 GB, free: 13.15 MB / 0.9669 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.0001346/0.02039, allocations: 126.3 kB / 1.01 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.02044, allocations: 7.953 kB / 1.01 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.02099, allocations: 183 kB / 1.01 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.02099, allocations: 3.938 kB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.021, allocations: 0 / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.021, allocations: 0 / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.02123, allocations: 153.2 kB / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.02124, allocations: 3.938 kB / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.0214, allocations: 31.92 kB / 1.01 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.02141, allocations: 4 kB / 1.01 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.02142, allocations: 0 / 1.01 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.02142, allocations: 4 kB / 1.01 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.02143, allocations: 7.922 kB / 1.01 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.02198, allocations: 255.3 kB / 1.011 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.02203, allocations: 19.88 kB / 1.011 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.02206, allocations: 4 kB / 1.011 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.0222, allocations: 11.98 kB / 1.011 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.02226, allocations: 19.91 kB / 1.011 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.02227, allocations: 8 kB / 1.011 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.587e-05/0.02237, allocations: 112.9 kB / 1.011 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02237, allocations: 0 / 1.011 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003633/0.02273, allocations: 59.88 kB / 1.011 GB, free: 12.1 MB / 0.9669 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.0003616/0.02309, allocations: 163 kB / 1.011 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005505/0.02365, allocations: 166.7 kB / 1.011 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02365, allocations: 0 / 1.011 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.02386, allocations: 64.02 kB / 1.011 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.02424, allocations: 27.98 kB / 1.011 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.02479, allocations: 239 kB / 1.011 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.02489, allocations: 89.81 kB / 1.011 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.271e-05/0.02498, allocations: 25.02 kB / 1.012 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.02504, allocations: 16.5 kB / 1.012 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.02504, allocations: 4 kB / 1.012 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of Templates: time 0.007528/0.03257, allocations: 2.841 MB / 1.014 GB, free: 8.473 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.478712059557438]