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.00144/0.00144, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.001571/0.001571, allocations: 161.3 kB / 22.75 MB, free: 1.652 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 1.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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 3.229/3.229, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.583e-06/1.583e-06, allocations: 0 / 0.8776 GB, free: 5.273 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.236e-05, allocations: 9.484 kB / 0.8776 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007653/0.007685, allocations: 4.431 MB / 0.882 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.009035, allocations: 0.7545 MB / 0.8827 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.009115, allocations: 0 / 0.8827 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.009325, allocations: 35.7 kB / 0.8827 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.009413, allocations: 27.72 kB / 0.8828 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006991/0.01011, allocations: 184.4 kB / 0.8829 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.0104, allocations: 184.2 kB / 0.8831 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.545e-05/0.01049, allocations: 9.312 kB / 0.8831 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.01076, allocations: 112.5 kB / 0.8832 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.01089, allocations: 59.84 kB / 0.8833 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.01092, allocations: 17.53 kB / 0.8833 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003811/0.0113, allocations: 135.7 kB / 0.8834 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.01135, allocations: 35.89 kB / 0.8835 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.01144, allocations: 56.86 kB / 0.8835 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.01193, allocations: 259.2 kB / 0.8838 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01193, allocations: 0 / 0.8838 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.72e-07/0.01193, allocations: 0.75 kB / 0.8838 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.01194, allocations: 0 / 0.8838 GB, free: 15.01 MB / 0.8073 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.001051/0.01299, allocations: 409.4 kB / 0.8842 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.01303, allocations: 8.031 kB / 0.8842 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.645e-05/0.01312, allocations: 24.84 kB / 0.8842 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.01327, allocations: 125.6 kB / 0.8843 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.01329, allocations: 8.375 kB / 0.8843 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.01332, allocations: 20.36 kB / 0.8843 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.0137, allocations: 121.5 kB / 0.8845 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.01371, allocations: 0 / 0.8845 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.01372, allocations: 0 / 0.8845 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.01373, allocations: 0 / 0.8845 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.01421, allocations: 143.9 kB / 0.8846 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.01532, allocations: 392.2 kB / 0.885 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.01564, allocations: 106.5 kB / 0.8851 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.01587, allocations: 68.81 kB / 0.8851 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.01724, allocations: 472 kB / 0.8856 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.01729, allocations: 42.5 kB / 0.8856 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.01729, allocations: 0 / 0.8856 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0008092/0.0181, allocations: 213.5 kB / 0.8858 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.01815, allocations: 51.41 kB / 0.8859 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.01835, allocations: 174 kB / 0.886 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.01838, allocations: 33.64 kB / 0.8861 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.01848, allocations: 108.5 kB / 0.8862 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.01853, allocations: 39.64 kB / 0.8862 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/0.01862, allocations: 49.7 kB / 0.8863 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.01882, allocations: 326.8 kB / 0.8866 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.0191, allocations: 75.95 kB / 0.8866 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.01939, allocations: 116 kB / 0.8868 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.01988, allocations: 164.8 kB / 0.8869 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01988, allocations: 4 kB / 0.8869 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006967/0.02058, allocations: 260.3 kB / 0.8872 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.0206, allocations: 6.188 kB / 0.8872 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.02061, allocations: 0 / 0.8872 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.02063, allocations: 7.938 kB / 0.8872 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.02095, allocations: 56 kB / 0.8872 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.02097, allocations: 4 kB / 0.8872 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.02115, allocations: 31.81 kB / 0.8873 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.02118, allocations: 12 kB / 0.8873 GB, free: 11.2 MB / 0.8073 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.0001296/0.02131, allocations: 121.8 kB / 0.8874 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.02136, allocations: 11.95 kB / 0.8874 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005892/0.02195, allocations: 190.8 kB / 0.8876 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.02196, allocations: 3.938 kB / 0.8876 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.02196, allocations: 0 / 0.8876 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.02197, allocations: 0 / 0.8876 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.0222, allocations: 145.3 kB / 0.8877 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.02221, allocations: 7.984 kB / 0.8877 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.02239, allocations: 35.92 kB / 0.8878 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.02239, allocations: 0 / 0.8878 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.0224, allocations: 0 / 0.8878 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.0224, allocations: 0 / 0.8878 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.02241, allocations: 11.92 kB / 0.8878 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.02299, allocations: 255.9 kB / 0.888 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.02305, allocations: 27.88 kB / 0.8881 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.02307, allocations: 0 / 0.8881 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.02323, allocations: 15.98 kB / 0.8881 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.02329, allocations: 15.92 kB / 0.8881 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.0233, allocations: 7.984 kB / 0.8881 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000109/0.02341, allocations: 120.9 kB / 0.8882 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.02341, allocations: 0 / 0.8882 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003763/0.02378, allocations: 63.81 kB / 0.8883 GB, free: 10.12 MB / 0.8073 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.0003391/0.02412, allocations: 163 kB / 0.8884 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005614/0.02468, allocations: 155.9 kB / 0.8886 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02469, allocations: 0 / 0.8886 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.02493, allocations: 75.77 kB / 0.8886 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.0253, allocations: 20.17 kB / 0.8887 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.02587, allocations: 241.2 kB / 0.8889 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.02598, allocations: 89.81 kB / 0.889 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.912e-05/0.02608, allocations: 23.5 kB / 0.889 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.02615, allocations: 20.5 kB / 0.889 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.02616, allocations: 4 kB / 0.889 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of Templates: time 0.007617/0.03377, allocations: 2.868 MB / 0.8918 GB, free: 6.477 MB / 0.8073 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.104550688993186]