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.0008027/0.0008027, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.000785/0.000785, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.846/0.846, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.709/1.709, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] 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.392e-06/1.392e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.129e-05, allocations: 5.234 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004092/0.004113, allocations: 4.43 MB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006404/0.004753, allocations: 0.7553 MB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.004801, allocations: 0 / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.004949, allocations: 31.72 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.642e-05/0.004985, allocations: 35.7 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.005386, allocations: 183.2 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.005525, allocations: 179.3 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.58e-05/0.005601, allocations: 9.297 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.005749, allocations: 107.8 kB / 1.007 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.005815, allocations: 63.84 kB / 1.007 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.005834, allocations: 12 kB / 1.007 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.006038, allocations: 151.6 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.006061, allocations: 27.91 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.0061, allocations: 51.89 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.006363, allocations: 259.2 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.006365, allocations: 0 / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.884e-06/0.006367, allocations: 3.984 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.006371, allocations: 0 / 1.007 GB, free: 6.648 MB / 0.9636 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.0006874/0.007058, allocations: 405.4 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.007096, allocations: 17.33 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.007133, allocations: 12.84 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.007226, allocations: 129.5 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.007238, allocations: 8.375 kB / 1.008 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.007256, allocations: 12.38 kB / 1.008 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.007463, allocations: 121.5 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.00747, allocations: 0 / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.007482, allocations: 7.984 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.007486, allocations: 4 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.007706, allocations: 135.9 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.008273, allocations: 388.2 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.008464, allocations: 114.5 kB / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.008562, allocations: 64.81 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006144/0.009176, allocations: 476.1 kB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.009197, allocations: 42.55 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 8.91e-07/0.009198, allocations: 0 / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0003792/0.009578, allocations: 213.3 kB / 1.009 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.009606, allocations: 55.41 kB / 1.009 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.009706, allocations: 171.2 kB / 1.009 GB, free: 4.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.009719, allocations: 29.64 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.009773, allocations: 112.5 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.009794, allocations: 43.64 kB / 1.01 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.009845, allocations: 49.69 kB / 1.01 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.009917, allocations: 322.8 kB / 1.01 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.01003, allocations: 71.95 kB / 1.01 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.01018, allocations: 111.3 kB / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.0104, allocations: 173.7 kB / 1.01 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.0104, allocations: 0 / 1.01 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003124/0.01072, allocations: 255.5 kB / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.01073, allocations: 4 kB / 1.01 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.01073, allocations: 4 kB / 1.01 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.01075, allocations: 3.938 kB / 1.01 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01088, allocations: 51.95 kB / 1.011 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01089, allocations: 4 kB / 1.011 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.01096, allocations: 39.7 kB / 1.011 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.01097, allocations: 8.094 kB / 1.011 GB, free: 2.852 MB / 0.9636 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 6.428e-05/0.01104, allocations: 125.8 kB / 1.011 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.01105, allocations: 7.953 kB / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.01131, allocations: 174.9 kB / 1.011 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01132, allocations: 7.938 kB / 1.011 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01132, allocations: 0 / 1.011 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01132, allocations: 4 kB / 1.011 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.01144, allocations: 149.2 kB / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.01144, allocations: 0 / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.0115, allocations: 23.98 kB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.0115, allocations: 3.984 kB / 1.011 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.01151, allocations: 8 kB / 1.011 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01152, allocations: 3.984 kB / 1.011 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01152, allocations: 3.938 kB / 1.011 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.01175, allocations: 267.2 kB / 1.011 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.01178, allocations: 19.88 kB / 1.011 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.01179, allocations: 3.938 kB / 1.011 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.01185, allocations: 19.98 kB / 1.011 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.01189, allocations: 15.91 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.01189, allocations: 0 / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.01194, allocations: 120.9 kB / 1.011 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01194, allocations: 0 / 1.011 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002125/0.01215, allocations: 59.88 kB / 1.012 GB, free: 1.793 MB / 0.9636 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.0001786/0.01233, allocations: 155.1 kB / 1.012 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.0126, allocations: 175.5 kB / 1.012 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.0126, allocations: 0 / 1.012 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.01269, allocations: 63.95 kB / 1.012 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.01291, allocations: 18.23 kB / 1.012 GB, free: 1.383 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.01324, allocations: 272 kB / 1.012 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.274e-05/0.01329, allocations: 89.81 kB / 1.012 GB, free: 0.9766 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.01334, allocations: 20.5 kB / 1.012 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of SimCode: time 4.2e-07/0.01334, allocations: 0 / 1.012 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of Templates: time 0.00284/0.01618, allocations: 2.648 MB / 1.015 GB, free: 14.33 MB / 0.9792 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: 6.242191856727004]