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.001855/0.001855, allocations: 81.5 kB / 19.44 MB, free: 340 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.002082/0.002082, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.676/1.676, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.672/3.672, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 175] 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 2.795e-06/2.795e-06, allocations: 0 / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.778e-05/4.058e-05, allocations: 3.438 kB / 0.8775 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.01363/0.01367, allocations: 4.701 MB / 0.8821 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.01607, allocations: 0.8301 MB / 0.8829 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.0162, allocations: 0 / 0.8829 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.01651, allocations: 39.12 kB / 0.8829 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.01666, allocations: 31.7 kB / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.01772, allocations: 175.8 kB / 0.8831 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.01814, allocations: 184.8 kB / 0.8833 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.01826, allocations: 9.312 kB / 0.8833 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.01866, allocations: 111.7 kB / 0.8834 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.01885, allocations: 67.78 kB / 0.8835 GB, free: 488 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.01892, allocations: 13.53 kB / 0.8835 GB, free: 476 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.01945, allocations: 135.8 kB / 0.8836 GB, free: 340 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.01952, allocations: 35.89 kB / 0.8837 GB, free: 304 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.01963, allocations: 51.89 kB / 0.8837 GB, free: 252 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.02049, allocations: 259.1 kB / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.0205, allocations: 0 / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.355e-06/0.0205, allocations: 0 / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.02051, allocations: 0 / 0.884 GB, free: 15.99 MB / 0.8542 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.001887/0.0224, allocations: 0.4917 MB / 0.8844 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.02246, allocations: 8.031 kB / 0.8844 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.0226, allocations: 24.84 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.02286, allocations: 131.2 kB / 0.8846 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.02289, allocations: 12.38 kB / 0.8846 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.02293, allocations: 8.375 kB / 0.8846 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.02342, allocations: 101.6 kB / 0.8847 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.02343, allocations: 0 / 0.8847 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.02346, allocations: 11.92 kB / 0.8847 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.02347, allocations: 4 kB / 0.8847 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.02404, allocations: 107.9 kB / 0.8848 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.02594, allocations: 455.3 kB / 0.8853 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.02637, allocations: 115 kB / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.02663, allocations: 59.91 kB / 0.8854 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002239/0.02887, allocations: 0.5546 MB / 0.886 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.02893, allocations: 37.39 kB / 0.886 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.02893, allocations: 0 / 0.886 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0009725/0.0299, allocations: 189.4 kB / 0.8862 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.02998, allocations: 51.41 kB / 0.8862 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.03037, allocations: 232.7 kB / 0.8865 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.03041, allocations: 33.7 kB / 0.8865 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.03063, allocations: 167.2 kB / 0.8866 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.03069, allocations: 35.69 kB / 0.8867 GB, free: 13 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.03088, allocations: 63.34 kB / 0.8867 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004204/0.0313, allocations: 0.5001 MB / 0.8872 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.03163, allocations: 59.91 kB / 0.8873 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.03204, allocations: 115.8 kB / 0.8874 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/0.03271, allocations: 158.6 kB / 0.8875 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.03271, allocations: 0 / 0.8875 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009271/0.03364, allocations: 231.6 kB / 0.8878 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.03367, allocations: 6.5 kB / 0.8878 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.03368, allocations: 4 kB / 0.8878 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.03371, allocations: 3.938 kB / 0.8878 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.03414, allocations: 60 kB / 0.8878 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.03415, allocations: 0 / 0.8878 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.0344, allocations: 31.78 kB / 0.8879 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.03446, allocations: 12 kB / 0.8879 GB, free: 11.72 MB / 0.8542 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.0002404/0.0347, allocations: 172.5 kB / 0.888 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.03478, allocations: 15.91 kB / 0.8881 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/0.03551, allocations: 159.3 kB / 0.8882 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.03552, allocations: 3.938 kB / 0.8882 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.03553, allocations: 4 kB / 0.8882 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.03553, allocations: 0 / 0.8882 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.03592, allocations: 168.6 kB / 0.8884 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.03592, allocations: 0 / 0.8884 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.03615, allocations: 27.92 kB / 0.8884 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.03616, allocations: 0 / 0.8884 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.03618, allocations: 3.984 kB / 0.8884 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.03619, allocations: 4 kB / 0.8884 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.0362, allocations: 3.938 kB / 0.8884 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/0.03695, allocations: 291.8 kB / 0.8887 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.03705, allocations: 27.83 kB / 0.8887 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.03709, allocations: 0 / 0.8887 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.0373, allocations: 11.98 kB / 0.8887 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.03739, allocations: 11.92 kB / 0.8887 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.03742, allocations: 8 kB / 0.8888 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002261/0.03765, allocations: 164.8 kB / 0.8889 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.91e-07/0.03765, allocations: 3.938 kB / 0.8889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006386/0.03828, allocations: 59.86 kB / 0.889 GB, free: 10.54 MB / 0.8542 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.0005285/0.03881, allocations: 162.3 kB / 0.8891 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007695/0.03958, allocations: 156 kB / 0.8893 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.03959, allocations: 8.188 kB / 0.8893 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.03988, allocations: 63.59 kB / 0.8893 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.04049, allocations: 29.09 kB / 0.8894 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008782/0.04137, allocations: 254.9 kB / 0.8896 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.04152, allocations: 93.81 kB / 0.8897 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.04167, allocations: 17.58 kB / 0.8897 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.04178, allocations: 20.44 kB / 0.8897 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of SimCode: time 1.212e-06/0.04178, allocations: 0 / 0.8897 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of Templates: time 0.01365/0.05542, allocations: 2.88 MB / 0.8926 GB, free: 6.848 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] 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: 9.395922223106027]